We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39ab851 commit f71a89eCopy full SHA for f71a89e
backend/btrixcloud/background_jobs.py
@@ -792,7 +792,7 @@ async def get_org_background_job(
792
"""Retrieve information for background job"""
793
return await ops.get_background_job(job_id, org.id)
794
795
- @app.get("/orgs/all/jobs/{job_id}", response_model=SuccessResponse, tags=["jobs"])
+ @app.get("/orgs/all/jobs/{job_id}", response_model=AnyJob, tags=["jobs"])
796
async def get_background_job_all_orgs(job_id: str, user: User = Depends(user_dep)):
797
"""Get background job from any org"""
798
if not user.is_superuser:
0 commit comments