Skip to content

Commit

Permalink
revert: "fix(node): urlencode query (#66)"
Browse files Browse the repository at this point in the history
This reverts commit f31ff5e.
  • Loading branch information
ooliver1 committed Apr 30, 2023
1 parent 76d317b commit 2308d15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mafic/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from logging import getLogger
from traceback import print_exc
from typing import TYPE_CHECKING, Generic, cast
from urllib.parse import quote

import aiohttp
import yarl
Expand Down Expand Up @@ -965,7 +964,7 @@ async def fetch_tracks(
query = f"{search_type}:{query}"

data: TrackLoadingResult = await self.__request(
"GET", "loadtracks", params={"identifier": quote(query)}
"GET", "loadtracks", params={"identifier": query}
)

if data["loadType"] == "NO_MATCHES":
Expand Down

0 comments on commit 2308d15

Please sign in to comment.