URLs can be empty too

pull/184/head
Andrew Godwin 2022-12-15 19:10:50 -07:00
rodzic faca9224ed
commit e0f1bb629c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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,