diff --git a/plex-emptytrash.sh b/plex-emptytrash.sh index 339c686..3e182d3 100644 --- a/plex-emptytrash.sh +++ b/plex-emptytrash.sh @@ -23,7 +23,7 @@ update_from_api() { do echo "Emptying Trash for key: ${library_number}" - plex_api_url="http://127.0.0.1:32400/library/sections/${library_number}/emptyTrash\?X-Plex-Token=${LOCAL_PLEX_TOKEN}" + plex_api_url="http://127.0.0.1:32400/library/sections/${library_number}/emptyTrash?X-Plex-Token=${LOCAL_PLEX_TOKEN}" curl -X GET $plex_api_url done