fix secmod add/write; + wip test revoke
This commit is contained in:
parent
651c422cb1
commit
c04fda0f1e
8 changed files with 165 additions and 45 deletions
|
|
@ -9,7 +9,7 @@ module Keys_get = struct
|
|||
Logs.info (fun m -> m "GET /management/keys/");
|
||||
let (module Keys : Keys.S) = Vif.Server.device Devices.keys server in
|
||||
let res =
|
||||
let v = Keys.make_future_keys_response () in
|
||||
let* v = Keys.make_future_keys_response () in
|
||||
Api.encode jsont v
|
||||
in
|
||||
Respond.result res req
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue