mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
effe5c7ba9
From now, we no longer retrieve the client_secret directly from the API/list but from a specialized component which ask API/get_item. This highly decrease the laod time needed to fetch API/list
5 lines
137 B
Ruby
5 lines
137 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.extract! item, :id, :due_date, :state, :invoice_id, :payment_method
|
|
json.amount item.amount / 100.00
|
|
|