mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-15 09:01:48 +02:00
If need be (#168)
This commit is contained in:
parent
6375e80641
commit
17dc9519d2
48 changed files with 1033 additions and 642 deletions
|
@ -1,6 +1,7 @@
|
|||
import { ObjectId } from "mongodb";
|
||||
import { getMongoClient } from "./mongodb-client";
|
||||
|
||||
import { prisma } from "../db";
|
||||
import { getMongoClient } from "./mongodb-client";
|
||||
|
||||
export interface LegacyPoll {
|
||||
__private: {
|
||||
|
@ -91,8 +92,8 @@ export const resetDates = async (legacyPollId: string) => {
|
|||
},
|
||||
include: {
|
||||
options: {
|
||||
include: {
|
||||
votes: true,
|
||||
orderBy: {
|
||||
value: "asc",
|
||||
},
|
||||
},
|
||||
participants: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue