summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--users/models/identity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/models/identity.py b/users/models/identity.py
index 4ebf69f..2e13de1 100644
--- a/users/models/identity.py
+++ b/users/models/identity.py
@@ -507,7 +507,7 @@ class Identity(StatorModel):
"id": self.pk,
"username": self.username or "",
"acct": self.username if self.local else self.handle,
- "url": self.absolute_profile_uri(),
+ "url": self.absolute_profile_uri() or "",
"display_name": self.name or "",
"note": self.summary or "",
"avatar": self.local_icon_url().absolute,