mirror of
https://github.com/fluencelabs/examples
synced 2024-12-05 19:50:16 +00:00
8 lines
249 B
Clojure
8 lines
249 B
Clojure
(xor
|
|
(seq
|
|
(call relay (service "request") ["https://api.duckduckgo.com/?q=homotopy&format=json"] result)
|
|
(call %init_peer_id% (returnService "run") [result])
|
|
)
|
|
(call %init_peer_id% (returnService "run") [%last_error%])
|
|
)
|