Skip to content

Commit

Permalink
Fix spotify_id lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed May 27, 2024
1 parent b433c46 commit a96ab4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion troi/tools/spotify_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a96ab4e

Please sign in to comment.