Skip to content

Commit

Permalink
Do not show zenduty response file content
Browse files Browse the repository at this point in the history
  • Loading branch information
brablc committed May 31, 2024
1 parent 197a63b commit 8bf10df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/zenduty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ cat << __PAYLOAD > $request_file
}
__PAYLOAD

log_info "Request file:"
jq . $request_file 2>/dev/null || cat $request_file
# log_info "Request file:"
# jq . $request_file 2>/dev/null || cat $request_file

url="https://www.zenduty.com/api/events/${ZENDUTY_API_KEY}/"
curl -s -X POST "$url" -H 'Content-Type: application/json' -d @$request_file >$response_file 2>&1
Expand Down

0 comments on commit 8bf10df

Please sign in to comment.