mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2026-05-06 10:37:36 +02:00
fix: reorder args
This commit is contained in:
parent
f818df06f9
commit
7b91330d02
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ setup_api() {
|
||||||
}
|
}
|
||||||
|
|
||||||
api_json() {
|
api_json() {
|
||||||
api -H "Content-Type: application/json" "$@"
|
api "$@" '-H "Content-Type: application/json"'
|
||||||
}
|
}
|
||||||
|
|
||||||
api() {
|
api() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue