This commit is contained in:
parent
8812531612
commit
c83eb882ee
4 changed files with 70 additions and 15 deletions
|
|
@ -190,7 +190,10 @@ let mk_keys ~db_conn (module Sm : Secmod.S) ~last_issue_date =
|
|||
|
||||
let recoup = (* TODO /recoup *) [] in
|
||||
let* global_fees =
|
||||
(* WIP DEBUG
|
||||
Pg.get_global_fees db_conn ~start_date:Timestamp.zero |> unwrap_err_caqti
|
||||
*)
|
||||
Ok []
|
||||
in
|
||||
let* auditors =
|
||||
(* TODO /auditors/$AUDITOR_PUB/$H_DENOM_PUB *)
|
||||
|
|
@ -241,7 +244,7 @@ let jsont = ExchangeKeysResponse.jsont
|
|||
|
||||
(* TODO query param ?last_issue_date *)
|
||||
let f req server _env =
|
||||
Logs.info (fun m -> m "GET /keys/");
|
||||
Logs.info (fun m -> m "GET /keys");
|
||||
let db_conn = Vif.Server.device Devices.db_connection server in
|
||||
let sm = Vif.Server.device Devices.secmod server in
|
||||
let res =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue