fix(workers): fix get_worker_id signature (#58)

This commit is contained in:
Aleksey Proshutisnkiy 2023-09-22 17:14:49 +03:00 committed by GitHub
parent 39da3b5b5c
commit 7402e0c072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ service DealWorker("worker"):
-- Returns worker peer id associated with `deal_id`.
-- Returns nil if worker doesn't exist.
get_peer_id_opt(deal_id: ?string) -> PeerId
get_worker_id(deal_id: ?string) -> ?PeerId
-- Removes worker with all deployed spells and services.
-- Throws an error if worker doesn't exist.