Removing auth key echo's so they don't show up in pipelines

This commit is contained in:
shockrah 2021-02-08 19:38:49 -08:00
parent a784e7a10c
commit ade4da9654

View File

@ -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
}