mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 04:43:53 +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
|