Fixed direction errors
This commit is contained in:
@@ -621,7 +621,7 @@ async def photo_find(
|
||||
}
|
||||
|
||||
async for image in col_photos.find(db_query, limit=page_size, skip=skip).sort(
|
||||
"dates.uploaded", DESCENDING
|
||||
"dates.uploaded", direction=DESCENDING
|
||||
):
|
||||
output["results"].append(
|
||||
{
|
||||
|
Reference in New Issue
Block a user