From ade4da9654ffc0af9bd106218fbe7b5d6d50709f Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 8 Feb 2021 19:38:49 -0800 Subject: [PATCH] Removing auth key echo's so they don't show up in pipelines --- upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload.sh b/upload.sh index 2745312..838882c 100755 --- a/upload.sh +++ b/upload.sh @@ -14,7 +14,7 @@ _upload_html() { fi for f in $@;do remote_path=${f:1} - echo curl -H "$auth" -F "$remote_path=@$f" $url/api/upload + echo curl -H "auth" -F "$remote_path=@$f" $url/api/upload curl -H "$auth" -F "$remote_path=@$f" $url/api/upload done } @@ -26,7 +26,7 @@ _upload_media() { for f in $@;do remote_path=${f:1} - echo curl -H "$auth" -F "$remote_path=@$f" $url/api/upload + echo curl -H "auth" -F "$remote_path=@$f" $url/api/upload curl -H "$auth" -F "$remote_path=@$f" $url/api/upload done }