Removing auth key echo's so they don't show up in pipelines
This commit is contained in:
parent
a784e7a10c
commit
ade4da9654
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user