Skip to content

Commit

Permalink
Rebased with Revamp
Browse files Browse the repository at this point in the history
  • Loading branch information
MVarshini committed Dec 10, 2024
1 parent 2a086b0 commit 946c52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/api/v1/commons/ocm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def getData(
tasks = [item["_source"] for item in response["data"]]
jobs = pd.json_normalize(tasks)
if len(jobs) == 0:
return {"data":jobs,"total": response["total"]}
return {"data": jobs, "total": response["total"]}

if "buildUrl" not in jobs.columns:
jobs.insert(len(jobs.columns), "buildUrl", "")
Expand Down

0 comments on commit 946c52d

Please sign in to comment.