summaryrefslogtreecommitdiff
path: root/src/remote
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-10 20:07:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-10 20:07:36 +0900
commitc28f4ffb3f5d67125abe3da9af60f05233f663a7 (patch)
tree7a4af744ff75414385bea75f3494cafdacc3680b /src/remote
parentFix bug (diff)
downloadsharkey-c28f4ffb3f5d67125abe3da9af60f05233f663a7.tar.gz
sharkey-c28f4ffb3f5d67125abe3da9af60f05233f663a7.tar.bz2
sharkey-c28f4ffb3f5d67125abe3da9af60f05233f663a7.zip
Clean up
Diffstat (limited to 'src/remote')
-rw-r--r--src/remote/activitypub/models/question.ts2
1 files changed, 1 insertions, 1 deletions
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
});