Skip to content

Commit

Permalink
minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Drazzilb08 committed Feb 19, 2024
1 parent 9bcd2cf commit 79931bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/backup_plex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ unraid_notification() {
send_notification() {
if [[ -n "$webhook" ]]; then
if [ "$debug" == "True" ]; then
echo -e "\ncurl -s -H \"Content-Type: application/json\" -X POST -d \"$payload\" \"$webhook\""
echo -e "\ncurl -s -H \"Content-Type: application/json\" -X POST -d \'$payload\' \"$webhook\""
curl -s -H "Content-Type: application/json" -X POST -d "$payload" "$webhook"
else
curl -s -H "Content-Type: application/json" -X POST -d "$payload" "$webhook" /dev/null
Expand Down

0 comments on commit 79931bb

Please sign in to comment.