diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-10 20:07:36 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-10 20:07:36 +0900 |
| commit | c28f4ffb3f5d67125abe3da9af60f05233f663a7 (patch) | |
| tree | 7a4af744ff75414385bea75f3494cafdacc3680b /src/remote/activitypub | |
| parent | Fix bug (diff) | |
| download | sharkey-c28f4ffb3f5d67125abe3da9af60f05233f663a7.tar.gz sharkey-c28f4ffb3f5d67125abe3da9af60f05233f663a7.tar.bz2 sharkey-c28f4ffb3f5d67125abe3da9af60f05233f663a7.zip | |
Clean up
Diffstat (limited to 'src/remote/activitypub')
| -rw-r--r-- | src/remote/activitypub/models/question.ts | 2 |
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 }); |