mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-10 17:31:03 +00:00
URLs can be empty too
This commit is contained in:
parent
faca9224ed
commit
e0f1bb629c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue