aggregator-rpc: rename getPoints -> getShips

This commit is contained in:
yosoyubik 2021-08-05 12:42:36 +02:00
parent 21775ec090
commit a221e49281
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@
(process-rpc id +.params method)
?+ method [~ ~(method error:json-rpc id)]
%get-point `(get-point id +.params point:scry)
%get-points `(get-points id +.params points:scry)
%get-ships `(get-ships id +.params points:scry)
%cancel-transaction (cancel-tx id +.params)
%get-spawned `(get-spawned id +.params spawned:scry)
%get-all-pending `(all:pending id +.params all:pending:scry)

View File

@ -416,7 +416,7 @@
~(not-found error:json-rpc id)
[%result id (point:to-json u.point)]
::
++ get-points
++ get-ships
|= [id=@t params=(map @t json) scry=$-(@ux (list @p))]
^- response:rpc
?. =(~(wyt by params) 1)