2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-04 01:15:08 +08:00
discourse/app/serializers/basic_reviewable_user_serializer.rb
2022-07-28 11:16:33 +03:00

9 lines
175 B
Ruby

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