From e2f3f1c53374df97abb1c6706a692b8b85a4c9f7 Mon Sep 17 00:00:00 2001 From: Marcin Gordel Date: Tue, 2 Jul 2024 12:24:02 +0200 Subject: [PATCH] docs: fixed missing `then` in upgrading example --- docs/UPGRADING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UPGRADING.md b/docs/UPGRADING.md index 6e1ec44be..03d789653 100644 --- a/docs/UPGRADING.md +++ b/docs/UPGRADING.md @@ -155,7 +155,7 @@ import { GolemNetwork } from "@golem-sdk/golem-js"; rental // 🌟🌟🌟 You issue the comands as in case of a single-provider scenario .getExeUnit() - .run(`echo 'Hello ${input}`) + .then((exe) => exe.run(`echo 'Hello ${input}`)) .then((res) => res.stdout), ), ),