mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:50:45 +08:00
988a175e94
This commit is a subset of the changes proposed in https://github.com/discourse/discourse/pull/17379.
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
|