Skip to content

Commit

Permalink
Fix secret fetching logic in create group secret endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Sep 12, 2024
1 parent da78543 commit bea06ba
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 @@ -73,7 +73,7 @@ def post(self, request, group_id, *_, **__):

# Fetch the secret
secret = Secret.objects.filter(
secret_id=secret_id,
id=secret_id,
tenant_id=request.tenant_id,
owner=request.username
)
Expand Down

0 comments on commit bea06ba

Please sign in to comment.