Removing auth key echo's so they don't show up in pipelines
This commit is contained in:
@@ -14,7 +14,7 @@ _upload_html() {
|
|||||||
fi
|
fi
|
||||||
for f in $@;do
|
for f in $@;do
|
||||||
remote_path=${f:1}
|
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
|
curl -H "$auth" -F "$remote_path=@$f" $url/api/upload
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -26,7 +26,7 @@ _upload_media() {
|
|||||||
|
|
||||||
for f in $@;do
|
for f in $@;do
|
||||||
remote_path=${f:1}
|
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
|
curl -H "$auth" -F "$remote_path=@$f" $url/api/upload
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user