If need be (#168)

This commit is contained in:
Luke Vella 2022-05-13 08:44:35 +01:00 committed by GitHub
parent 6375e80641
commit 17dc9519d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 1033 additions and 642 deletions

View file

@ -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: {