mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00

This reverts commit d9ddc258089da0f6cd8cf75af385c8a59eeccac3. I noticed that Webhook admin UI is now inaccessible through the subheader
8 lines
242 B
Ruby
8 lines
242 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BasicApiKeySerializer < ApplicationSerializer
|
|
attributes :id, :truncated_key, :description, :created_at, :last_used_at, :revoked_at
|
|
|
|
has_one :user, serializer: BasicUserSerializer, embed: :objects
|
|
end
|