This commit is contained in:
Timothy J. Baek
2024-08-04 17:04:15 +02:00
parent a084938d9c
commit 49677e9c9d
7 changed files with 17 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ router = APIRouter()
async def get_session_user_chat_list(
user=Depends(get_verified_user), page: Optional[int] = None
):
if page:
if page is not None:
limit = 20
skip = (page - 1) * limit