mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
🔥 Remove deprecated event model (#1775)
This commit is contained in:
parent
b1b76b4bec
commit
37b7ed5e19
14 changed files with 85 additions and 248 deletions
|
@ -48,12 +48,6 @@ export async function getPolls({
|
|||
image: true,
|
||||
},
|
||||
},
|
||||
event: {
|
||||
select: {
|
||||
start: true,
|
||||
duration: true,
|
||||
},
|
||||
},
|
||||
participants: {
|
||||
where: {
|
||||
deleted: false,
|
||||
|
@ -95,7 +89,6 @@ export async function getPolls({
|
|||
email: participant.email ?? undefined,
|
||||
image: participant.user?.image ?? undefined,
|
||||
})),
|
||||
event: poll.event ?? undefined,
|
||||
};
|
||||
}),
|
||||
hasNextPage,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue