mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:04:09 +08: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
|