discourse/app/serializers/basic_reviewable_user_seria...

10 lines
175 B
Ruby

# frozen_string_literal: true
class BasicReviewableUserSerializer < BasicReviewableSerializer
attributes :username
def username
object.payload["username"]
end
end