mirror of
https://github.com/RGBCube/GitHub2Forgejo
synced 2025-05-31 10:48:11 +00:00
Use shorthand for --ignore-erros as it is too long
This commit is contained in:
parent
084ff3bcc0
commit
7a61df4396
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def main [
|
|||
let gitea_uid = (
|
||||
http get $"($gitea_url)/api/v1/users/($gitea_user)"
|
||||
-H [ Authorization $"token ($gitea_token)" ]
|
||||
) | get --ignore-errors id
|
||||
) | get -i id
|
||||
|
||||
if $gitea_uid == null {
|
||||
echo "Invalid Gitea username or password"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue