fix when report ap message does not have content field

pull/689/head
Henri Dickson 2024-01-08 18:48:15 -05:00
rodzic 2f4daa02bd
commit ee54b601a2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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):