mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2026-07-30 10:29:09 +00:00
fix: reorder args
This commit is contained in:
parent
f818df06f9
commit
7b91330d02
|
|
@ -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…
Reference in a new issue