From 3a6f1eb8f9595e6318bf88d06805eefc3cdb0eaf Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 14 Jun 2023 22:00:42 +0200 Subject: [PATCH] remove extra token argument from API --- forgejo-test-helper.sh | 1 + 1 file changed, 1 insertion(+) 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 }