mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 23:35:44 +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
|