Skip to content

Commit

Permalink
Fix identation
Browse files Browse the repository at this point in the history
  • Loading branch information
supertom01 committed Dec 11, 2023
1 parent 09134c8 commit 9ae9d61
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions amelie/companies/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ def resolve_company(self, info, id=None, slug=None):
return None

def resolve_website_banner(self, info, id=None, slug=None):
if id is not None:
return WebsiteBanner.objects.get(pk=id)
if slug is not None:
return WebsiteBanner.objects.get(slug=slug)
return None
if id is not None:
return WebsiteBanner.objects.get(pk=id)
if slug is not None:
return WebsiteBanner.objects.get(slug=slug)
return None

def resolve_television_banner(self, info, id=None, slug=None):
if id is not None:
return TelevisionBanner.objects.get(pk=id)
if slug is not None:
return TelevisionBanner.objects.get(slug=slug)
return None
if id is not None:
return TelevisionBanner.objects.get(pk=id)
if slug is not None:
return TelevisionBanner.objects.get(slug=slug)
return None

def resolve_vivat_banner(self, info, id=None, slug=None):
if id is not None:
Expand Down

0 comments on commit 9ae9d61

Please sign in to comment.