Skip to content

Commit

Permalink
Ignore line from sonarlint
Browse files Browse the repository at this point in the history
  • Loading branch information
matti-lamppu committed Aug 30, 2023
1 parent 1f938c3 commit 278014f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/graphql/reservations/reservation_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def resolve_billing_email(self, info: ResolveInfo) -> Optional[str]:
return self.billing_email

def resolve_created_at(self, info: ResolveInfo) -> str:
if self is None:
if self is None: # NOSONAR
return ""
return self.created_at.strftime("%Y-%m-%dT%H:%M:%S%z")

Expand Down

0 comments on commit 278014f

Please sign in to comment.