mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-21 23:01:00 +00:00
Fix when report ap message does not have content field (#689)
This commit is contained in:
parent
2f4daa02bd
commit
f86f3a49e4
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class Report(StatorModel):
|
|||
subject_post=subject_post,
|
||||
source_domain=Domain.get_remote_domain(domain_id),
|
||||
type="remote",
|
||||
complaint=data.get("content"),
|
||||
complaint=str(data.get("content", "")),
|
||||
)
|
||||
|
||||
def to_ap(self):
|
||||
|
|
Loading…
Reference in a new issue