From 10f7e462425d8e8a92f05ff9b4b397fa328c8455 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 7 Jul 2019 18:09:01 +0200 Subject: [PATCH] Fix remote question caching --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 27f2a11..95bbd96 100644 --- a/app.py +++ b/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: