mirror of
https://github.com/we-promise/sure.git
synced 2026-05-09 13:45:01 +00:00
* feat(api): expose sync status * fix(api): harden sync status review paths * fix(api): address sync status review * fix(api): tighten sync status review fixes * fix(api): address sync status review * test(api): avoid secret-like sync fixture key * test(api): reuse sync status fixture key * fix(api): align sync route helpers * fix(api): tighten sync status scoping * fix(api): make sync status schema nullable-compliant
13 lines
239 B
Ruby
13 lines
239 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.data do
|
|
json.array! @syncs, partial: "api/v1/syncs/sync", as: :sync
|
|
end
|
|
|
|
json.meta do
|
|
json.page @pagy.page
|
|
json.per_page @per_page
|
|
json.total_count @pagy.count
|
|
json.total_pages @pagy.pages
|
|
end
|