mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-26 21:27:48 -05:00
also make voucherId null
This commit is contained in:
@@ -746,7 +746,9 @@ const endVoting = async (userId: number) => {
|
||||
...Array.from(summariesByTier[3].values()),
|
||||
],
|
||||
}),
|
||||
prisma.plusStatus.updateMany({ data: { vouchTier: null } }),
|
||||
prisma.plusStatus.updateMany({
|
||||
data: { vouchTier: null, voucherId: null },
|
||||
}),
|
||||
prisma.plusStatus.updateMany({
|
||||
where: { canVouchAgainAfter: { lt: new Date() } },
|
||||
data: { canVouchAgainAfter: null },
|
||||
|
||||
Reference in New Issue
Block a user