Merge commit '4af8e83c8a236265c46a1b984fa5dbd3a7c73dfe' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2025-12-12 17:45:26 +01:00
35 changed files with 586 additions and 245 deletions

View File

@@ -3,7 +3,11 @@
class REST::CollectionItemSerializer < ActiveModel::Serializer
delegate :accepted?, to: :object
attributes :position, :state
attributes :id, :position, :state
belongs_to :account, serializer: REST::AccountSerializer, if: :accepted?
def id
object.id.to_s
end
end