Skip to content

Commit

Permalink
Fix another error in Spotify ext, due to new regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Mar 23, 2022
1 parent e445e4c commit 10c8e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wavelink/ext/spotify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async def _search(self,
if not regex_result:
url = BASEURL.format(entity=type.name, identifier=query)
else:
url = BASEURL.format(entity=regex_result['entity'], identifier=regex_result['id'])
url = BASEURL.format(entity=regex_result['type'], identifier=regex_result['id'])

async with self.session.get(url, headers=self.bearer_headers) as resp:
if resp.status != 200:
Expand Down

0 comments on commit 10c8e51

Please sign in to comment.