mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add dedicated user_api_key_clients table to allow for 1:many use cases (#28119)
This commit is contained in:
@@ -153,7 +153,7 @@ class UserSerializer < UserCardSerializer
|
||||
.map do |k|
|
||||
{
|
||||
id: k.id,
|
||||
application_name: k.application_name,
|
||||
application_name: k.client.application_name,
|
||||
scopes: k.scopes.map { |s| I18n.t("user_api_key.scopes.#{s.name}") },
|
||||
created_at: k.created_at,
|
||||
last_used_at: k.last_used_at,
|
||||
|
||||
Reference in New Issue
Block a user