updated drone_api.sh

pull/2/head
Hari Sekhon 3 years ago
parent adf1c977d4
commit fb4a37cebe

@ -90,4 +90,4 @@ export TOKEN="$DRONE_TOKEN"
# this works
#curl "${CURL_OPTS[@]}" -H @<(cat <<< "Authorization: Bearer $DRONE_TOKEN") "$url_base/$url_path" "$@"
"$srcdir/curl_auth.sh" "$url_base/$url_path" -H @<(cat <<< "Authorization: Bearer $DRONE_TOKEN") "${CURL_OPTS[@]}" "$@"
"$srcdir/curl_auth.sh" "$url_base/$url_path" "${CURL_OPTS[@]}" "$@"

Loading…
Cancel
Save