From 5c7ac4611642fff72233e9db7ca92a847940e047 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 13 Dec 2020 14:53:25 -0800 Subject: [PATCH] Fixes foreign key field setting wrong value on activity --- bookwyrm/models/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/models/fields.py b/bookwyrm/models/fields.py index 960be161..34f90103 100644 --- a/bookwyrm/models/fields.py +++ b/bookwyrm/models/fields.py @@ -60,7 +60,7 @@ class ActivitypubFieldMixin: if isinstance(activity.get(key), list): activity[key] += formatted else: - activity[key] = value + activity[key] = formatted def field_to_activity(self, value):