Merge remote-tracking branch 'parent/main' into kb_lts

This commit is contained in:
KMY 2023-09-21 15:59:20 +09:00
commit 3c317659c4
15 changed files with 95 additions and 20 deletions

View file

@ -16,6 +16,9 @@ class REST::CredentialAccountSerializer < REST::AccountSerializer
note: object.note,
fields: object.fields.map(&:to_h),
follow_requests_count: FollowRequest.where(target_account: object).limit(40).count,
hide_collections: object.hide_collections,
discoverable: object.discoverable,
indexable: object.indexable,
}
end