Formatting
This commit is contained in:
parent
ad355df6c5
commit
ea6be0ed8e
5 changed files with 9 additions and 4 deletions
3
tasks.py
3
tasks.py
|
@ -72,7 +72,8 @@ def cache_actor(self, iri: str, also_cache_attachments: bool = True) -> None:
|
|||
|
||||
# Cache the actor info
|
||||
DB.activities.update_one(
|
||||
{"remote_id": iri}, {"$set": {"meta.actor": activitypub._actor_to_meta(actor)}}
|
||||
{"remote_id": iri},
|
||||
{"$set": {"meta.actor": activitypub._actor_to_meta(actor)}},
|
||||
)
|
||||
|
||||
log.info(f"actor cached for {iri}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue