From c28f4ffb3f5d67125abe3da9af60f05233f663a7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 10 Apr 2019 20:07:36 +0900 Subject: Clean up --- src/remote/activitypub/models/question.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/remote') diff --git a/src/remote/activitypub/models/question.ts b/src/remote/activitypub/models/question.ts index a5091a6d96..68f0cb3596 100644 --- a/src/remote/activitypub/models/question.ts +++ b/src/remote/activitypub/models/question.ts @@ -72,7 +72,7 @@ export async function updateQuestion(value: any) { updatedAt: new Date(), }); - await Polls.update(poll.id, { + await Polls.update({ noteId: note.id }, { votes: poll.votes }); -- cgit v1.2.3-freya