mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 22:31:04 -05:00
Merge pull request 'cascading-pr from https://code.forgejo.org/forgejo/forgejo-curl/pulls/5' (#79) from cascading-pr/setup-forgejo:forgejo/forgejo-curl-5 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/79 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
This commit is contained in:
commit
8c3c90b5cf
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ function login_api() {
|
|||
fi
|
||||
( echo -n "Authorization: token " ; cat $DOT/token ) > $DOT/header-token
|
||||
#
|
||||
# Verify it works
|
||||
# Verify the token works
|
||||
#
|
||||
local status=$(api -w "%{http_code}" -o /dev/null "${url}/api/v1/user")
|
||||
if test "${status}" != 200 ; then
|
||||
|
|
Loading…
Reference in a new issue