Skip to content

Commit

Permalink
Merge pull request #127 from phasehq/fix--override-query
Browse files Browse the repository at this point in the history
fix: org member query in resolver for personal secrets
  • Loading branch information
rohan-chaturvedi authored Nov 24, 2023
2 parents 96db5f3 + bb7ed7c commit 6dad48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend/graphene/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def resolve_override(self, info):
if info.context.user:
org = self.environment.app.organisation
org_member = OrganisationMember.objects.get(
organisation=org, user=info.context.user)
organisation=org, user=info.context.user, deleted_at=None)

try:
override = PersonalSecret.objects.get(
Expand Down

0 comments on commit 6dad48c

Please sign in to comment.