Skip to content

Commit

Permalink
fix: Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Feb 14, 2024
1 parent 8d30e4a commit 3e4a7bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions terraso_backend/apps/graphql/schema/shared_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ def resolve_share_url(self, info, **kwargs):
entity = (
"groups"
if isinstance(target, Group)
else "landscapes"
if isinstance(target, Landscape)
else None
else "landscapes" if isinstance(target, Landscape) else None
)
if not entity:
return None
Expand Down

0 comments on commit 3e4a7bc

Please sign in to comment.