mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-21 18:22:42 +01:00
Fixed missing \" at the end of the payload string.
parent
9073d873c6
commit
9f02349b1e
@ -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:
|
||||
|
||||
#!/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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user