Skip to content

Commit ebf0c20

Browse files
fix: fixing fields parameter
1 parent 743909d commit ebf0c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

myanimelistpy/myanimelist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_anime_list_in_dict(
5959
url = f"{BASE_URL}/{ANIME_LIST_ENDPOINT}?q={anime_name}&limit={limit}&offset={offset}"
6060

6161
if len(fields) > 0:
62-
url += f"&fields={fields}"
62+
url += f"&fields={','.join(fields)}"
6363

6464
response = requests.get(
6565
url = url,

0 commit comments

Comments
 (0)