mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-22 15:56:58 +00:00
Fixed missing \" at the end of the payload string.
parent
9073d873c6
commit
9f02349b1e
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ After you make the webhook it will give you a "Webhook URL" that looks something
|
||||||
Next create a new bash script with this code:
|
Next create a new bash script with this code:
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl -X POST --data-urlencode "payload={\"username\": \"Sonarr\", \"icon_emoji\": \":ghost:\", \"text\": \"$sonarr_eventtype: $sonarr_series_title S$sonarr_episodefile_seasonnumber E$sonarr_episodefile_episodenumbers ($sonarr_episodefile_quality)}" $1
|
curl -X POST --data-urlencode "payload={\"username\": \"Sonarr\", \"icon_emoji\": \":ghost:\", \"text\": \"$sonarr_eventtype: $sonarr_series_title S$sonarr_episodefile_seasonnumber E$sonarr_episodefile_episodenumbers ($sonarr_episodefile_quality)\"}" $1
|
||||||
|
|
||||||
I put mine in `~/scripts/sonarr/` and named it `slack.sh`
|
I put mine in `~/scripts/sonarr/` and named it `slack.sh`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue