mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 23:18:00 +03:00
aggregator-rpc: rename getPoints -> getShips
This commit is contained in:
parent
21775ec090
commit
a221e49281
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user