mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
REPP: Accounts balance test
This commit is contained in:
parent
06ad8c8c77
commit
a43df5ca95
2 changed files with 23 additions and 1 deletions
|
@ -4,7 +4,7 @@ module Repp
|
|||
def balance
|
||||
resp = { balance: current_user.registrar.cash_account.balance,
|
||||
currency: current_user.registrar.cash_account.currency }
|
||||
render(json: resp, status: :ok)
|
||||
render_success(data: resp)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue