From a96ab4e9890a1e884e978bd19bb8d771172d4a9c Mon Sep 17 00:00:00 2001 From: Kartik Ohri Date: Mon, 27 May 2024 15:46:57 +0530 Subject: [PATCH] Fix spotify_id lookup --- troi/tools/spotify_lookup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troi/tools/spotify_lookup.py b/troi/tools/spotify_lookup.py index 36d7dd3..6e0cbe0 100644 --- a/troi/tools/spotify_lookup.py +++ b/troi/tools/spotify_lookup.py @@ -16,7 +16,7 @@ def lookup_spotify_ids(recordings): and add those to the recordings. """ response = requests.post( SPOTIFY_IDS_LOOKUP_URL, - json=[{"[recording_mbid]": recording.mbid} for recording in recordings] + json=[{"recording_mbid": recording.mbid} for recording in recordings] ) response.raise_for_status() spotify_data = response.json()