mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 06:17:00 +08:00
DEV: Convert admin API keys to conform to UI guidelines (#30660)
Re-opening of #30096. It was reverted because it was missing a sidebar link to Webhooks in the admin panel.
This commit is contained in:
@ -4,4 +4,5 @@ class BasicApiKeySerializer < ApplicationSerializer
|
||||
attributes :id, :truncated_key, :description, :created_at, :last_used_at, :revoked_at
|
||||
|
||||
has_one :user, serializer: BasicUserSerializer, embed: :objects
|
||||
has_one :created_by, serializer: BasicUserSerializer, embed: :objects
|
||||
end
|
||||
|
Reference in New Issue
Block a user