Commit 348903b5 authored by echel0n's avatar echel0n
Browse files

Fixed issue with API v1 and sorting coming episodes by date

parent 31e4d882
......@@ -638,7 +638,7 @@ class CMD_ComingEpisodes(ApiCall):
def __init__(self, application, request, *args, **kwargs):
super(CMD_ComingEpisodes, self).__init__(application, request, *args, **kwargs)
self.sort, args = self.check_params("sort", ComingEpsSortBy.DATE, False, "string", [ for x in ComingEpsSortBy], *args, **kwargs)
self.sort, args = self.check_params("sort",, False, "string", [ for x in ComingEpsSortBy], *args, **kwargs)
self.type, args = self.check_params("type", '|'.join(ComingEpisodes.categories), False, "list", ComingEpisodes.categories, *args, **kwargs)
self.paused, args = self.check_params("paused", bool(, False, "bool", [], *args, **kwargs)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment