mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 16:38:34 +02:00
♻️ Improvements to adding/changing participant (#1108)
This commit is contained in:
parent
46cc893c93
commit
469fa9bdb2
7 changed files with 35 additions and 142 deletions
|
@ -1,5 +1,6 @@
|
|||
import { prisma } from "@rallly/database";
|
||||
import { TRPCError } from "@trpc/server";
|
||||
import { waitUntil } from "@vercel/functions";
|
||||
import { z } from "zod";
|
||||
|
||||
import { createToken } from "../../../session";
|
||||
|
@ -158,7 +159,7 @@ export const participants = router({
|
|||
);
|
||||
}
|
||||
|
||||
await Promise.all(emailsToSend);
|
||||
waitUntil(Promise.all(emailsToSend));
|
||||
|
||||
return participant;
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue