Skip to content

Commit

Permalink
bugfix Service.__str__
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-brancotte committed Feb 8, 2024
1 parent 7a9af6b commit 7117d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ifbcat_api/model/serviceIfb.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class StandardAndOrCustom(models.TextChoices):
)

def __str__(self):
return f'[{self.domain}] {self.analysis} by {self.team} ({", ".join(self.communities.all())})'
return f'[{self.domain}] {self.analysis} by {self.team} ({", ".join(str(c) for c in self.communities.all())})'

@classmethod
def get_permission_classes(cls):
Expand Down

0 comments on commit 7117d25

Please sign in to comment.