Skip to content

Commit

Permalink
fix: organization.area validation
Browse files Browse the repository at this point in the history
  • Loading branch information
rdahis committed Dec 5, 2024
1 parent a99758b commit e5c5971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/api/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class Meta:

@property
def full_slug(self):
if self.area.slug != "unknown":
if self.area:
return f"{self.area.slug}_{self.slug}"
return f"{self.slug}"

Expand Down

0 comments on commit e5c5971

Please sign in to comment.