Skip to content

Commit 0400a99

Browse files
Merge pull request #75 from microsoft/psl-bug-15142
fix: Batch History panel has a cap on items, not everything is shown
2 parents c5a3c23 + 397ac23 commit 0400a99

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/backend/api/api_routes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import asyncio
44
import io
55
import zipfile
6+
from typing import Optional
7+
68

79
from api.auth.auth_utils import get_authenticated_user
810
from api.status_updates import app_connection_manager, close_connection
@@ -800,7 +802,7 @@ async def delete_all_details(request: Request):
800802

801803

802804
@router.get("/batch-history")
803-
async def list_batch_history(request: Request, offset: int = 0, limit: int = 25):
805+
async def list_batch_history(request: Request, offset: int = 0, limit: Optional[int] = None):
804806
"""
805807
Retrieve batch processing history for the authenticated user.
806808

0 commit comments

Comments
 (0)