Remove unused has_attachments and assignees from notification JSON

These fields were added but are not used by the iOS client.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Fernando Olivares
2026-01-22 03:31:23 -06:00
committed by Alp Keser
parent 6809804d3a
commit a844353f1e
@@ -11,8 +11,6 @@ json.cache! notification do
json.card do
json.(notification.card, :id, :number, :title, :status)
json.board_name notification.card.board.name
json.has_attachments notification.card.has_attachments?
json.assignees notification.card.assignees, partial: "users/user", as: :user
json.url card_url(notification.card)
json.column notification.card.column, partial: "columns/column", as: :column if notification.card.column
end