From 1b1254c57aa766926896389275afec2ed3319e35 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 26 Nov 2023 22:20:36 +0100 Subject: [PATCH] Reworked the response again --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e60b4cd..52937ca 100644 --- a/index.js +++ b/index.js @@ -124,7 +124,7 @@ async function postCode() { response = await Promise.resolve() .then(() => api.auth(username, password, login_arguments)) .then(() => { - api.code.set(branch, files_to_push); + return api.code.set(branch, files_to_push); }) .then((result) => { response = result;