updates test data and serialization

This commit is contained in:
Mouse Reeve
2020-11-02 16:23:18 -08:00
parent 8a4e00c6b9
commit 0c73a1f42e
6 changed files with 64 additions and 75 deletions

View File

@ -68,7 +68,6 @@ class ActivitypubMixin:
if not hasattr(self, mapping.model_key) or not mapping.activity_key:
continue
value = getattr(self, mapping.model_key)
print(value)
if hasattr(value, 'local_id'):
value = value.local_id
elif hasattr(value, 'remote_id'):