Send currency to frontend
This commit is contained in:
parent
a9786d95cc
commit
5c7e52da5a
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ defmodule WeekBudget.API.Server do
|
|||
uuid: secret,
|
||||
init: Decimal.to_float(amount.amount),
|
||||
amount: Decimal.to_float(true_amount.amount),
|
||||
events: Enum.map(events, &serialize_event/1)
|
||||
events: Enum.map(events, &serialize_event/1),
|
||||
currency: amount.currency
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Reference in a new issue