mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 21:43:38 +08:00
10 lines
175 B
Ruby
10 lines
175 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class BasicReviewableUserSerializer < BasicReviewableSerializer
|
||
|
attributes :username
|
||
|
|
||
|
def username
|
||
|
object.payload["username"]
|
||
|
end
|
||
|
end
|