Skip to content

Commit

Permalink
Fix group secret create endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Sep 12, 2024
1 parent bea06ba commit 129d48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/views/GroupSecrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def post(self, request, group_id, *_, **__):
id=secret_id,
tenant_id=request.tenant_id,
owner=request.username
)
).first()

if secret == None:
return NotFound(message=f"No secret found with id '{secret_id}'")
Expand Down

0 comments on commit 129d48b

Please sign in to comment.