mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
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
|