Skip to content

Commit

Permalink
fixed release type
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnnsrs committed Jul 1, 2024
1 parent ae522f2 commit 996346d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bridge/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ class Release:

@strawberry_django.field(description="Is this release deployed")
def installed(self, info: Info) -> bool:
return (
self.flavours.filter(setups__installer=info.context.request.user).first()
is not None
)
return True

@strawberry_django.field(description="Is this release deployed")
def deployments(self, info: Info) -> List["Deployment"]:
Expand Down

0 comments on commit 996346d

Please sign in to comment.