mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 10:46:09 +02:00
wip #6441
This commit is contained in:
@@ -29,7 +29,7 @@ export default async function(user: User, note: Note, choice: number) {
|
||||
}
|
||||
|
||||
// Create vote
|
||||
await PollVotes.save({
|
||||
await PollVotes.insert({
|
||||
id: genId(),
|
||||
createdAt: new Date(),
|
||||
noteId: note.id,
|
||||
|
||||
Reference in New Issue
Block a user