1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-25 04:48:37 -06:00

fix: Fix JSON formatting of data

This commit is contained in:
Sayantan Santra 2024-01-04 15:21:34 +05:30
parent 810ed3cb84
commit 53e2b21d9d
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -33,4 +33,4 @@ fi
curl -s -H "X-Api-Key: $sonarr_api_token" \ curl -s -H "X-Api-Key: $sonarr_api_token" \
-X PUT "http://$sonarr_ip:$sonarr_port/api/v3/episode/monitor" \ -X PUT "http://$sonarr_ip:$sonarr_port/api/v3/episode/monitor" \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d "{'episodeIds': [$sonarr_episodefile_episodeids], 'monitored': false}" -d '{"episodeIds": ['$sonarr_episodefile_episodeids'], "monitored": false}'