diff --git a/forgejo-test-helper.sh b/forgejo-test-helper.sh index 4118277..659a0c4 100755 --- a/forgejo-test-helper.sh +++ b/forgejo-test-helper.sh @@ -48,6 +48,7 @@ function api() { path=$1 shift token=$1 + shift curl --fail -X $method -sS -H "Content-Type: application/json" -H "Authorization: token $token" "$@" $url/api/v1/$path }