mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:04:01 +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
|