examples/multi-service/air-scripts/remove_stored_service.clj
2021-03-18 15:31:42 -05:00

11 lines
334 B
Clojure

(xor
(seq
(call node ("script" "remove") [script_id] result)
(call %init_peer_id% (returnService "run") [result])
)
(seq
(call relay ("op" "identity") [])
(call %init_peer_id% (returnService "run") ["XOR FAILED" %last_error%])
)
)