Skip to content

Commit

Permalink
[fix] Load checks by id (#1801)
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias authored Oct 12, 2023
1 parent 925604e commit 173d92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resotocore/resotocore/web/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ async def inspection_checks(self, request: Request, deps: TenantDependencies) ->
service = request.query.get("service")
category = request.query.get("category")
kind = request.query.get("kind")
check_ids = request.query.get("id", "").split(",")
check_ids = request.query["id"].split(",") if "id" in request.query else None
inspections = await deps.inspector.list_checks(
provider=provider, service=service, category=category, kind=kind, check_ids=check_ids
)
Expand Down

0 comments on commit 173d92f

Please sign in to comment.