mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 16:43:40 +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
|