Fix variable type for Sort in AniList Userlist

This commit is contained in:
Frazzer951 2022-03-14 17:36:09 -07:00 committed by meisnate12
parent 29ab86267b
commit 99c4d46f8b

View file

@ -221,7 +221,7 @@ class AniList:
def _userlist(self, username, list_name, sort_by): def _userlist(self, username, list_name, sort_by):
query = """ query = """
query ($user: String, $sort: MediaListStatus) { query ($user: String, $sort: [MediaListSort]) {
MediaListCollection (userName: $user, sort: $sort, type: ANIME) { MediaListCollection (userName: $user, sort: $sort, type: ANIME) {
lists { lists {
name name