Skip to content

Commit

Permalink
Merge branch 'fix-order-script' into order-test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBrigitte committed Nov 22, 2024
2 parents 239e902 + 435029a commit a2e5111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/order.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ request() {
--header "Accept: application/json"\
--header "Content-Type: application/json" \
--data "${data}" \
-w '\n%output{'$HTTP_CODE_FILE'}%{http_code}' \
"$@"
-w '%{stderr}%{http_code}' \
"$@" 2>$HTTP_CODE_FILE
set +x

http_code=$(cat "$HTTP_CODE_FILE")
Expand Down

0 comments on commit a2e5111

Please sign in to comment.