mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Fix remote question caching
This commit is contained in:
parent
2d7e03d5b2
commit
10f7e46242
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -3054,7 +3054,7 @@ def task_fetch_remote_question():
|
|||
# Also update all the cached copies (Like, Announce...)
|
||||
DB.activities.update_many(
|
||||
{"meta.object.id": remote_question["id"]},
|
||||
{"$set": {"activity.object": remote_question}},
|
||||
{"$set": {"meta.object": remote_question}},
|
||||
)
|
||||
|
||||
except HTTPError as err:
|
||||
|
|
Loading…
Reference in a new issue