Skip to content

Commit

Permalink
refactor: Lint agents-api (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab authored and github-actions[bot] committed Dec 19, 2024
1 parent 62fb581 commit da9dd5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agents-api/agents_api/routers/healthz/check_health.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ async def check_health() -> dict:
except Exception as e:
return {"status": "error", "message": str(e)}

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.

return {"status": "ok"}
return {"status": "ok"}
2 changes: 1 addition & 1 deletion agents-api/agents_api/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
agents,
docs,
files,
healthz,
internal,
jobs,
sessions,
tasks,
users,
healthz,
)

if not sentry_dsn:
Expand Down

0 comments on commit da9dd5b

Please sign in to comment.