Corrects documentation on sort order

This commit is contained in:
Mouse Reeve 2021-12-29 17:41:31 -08:00
parent 2640c26bb1
commit 9f6918767b

View file

@ -16,7 +16,7 @@ class ListsStream(RedisStore):
return f"{user.id}-lists" return f"{user.id}-lists"
def get_rank(self, obj): # pylint: disable=no-self-use def get_rank(self, obj): # pylint: disable=no-self-use
"""lists are sorted by date published""" """lists are sorted by updated date"""
return obj.updated_date.timestamp() return obj.updated_date.timestamp()
def add_list(self, book_list): def add_list(self, book_list):