Skip to content
Snippets Groups Projects
Commit 894f07b6 authored by Ewen Le Bihan's avatar Ewen Le Bihan
Browse files

fix(signups): prisma error 'promo' does not exist

parent dbc860e7
Branches
Tags v0.10.11 v0.10.9
No related merge requests found
......@@ -25,6 +25,8 @@ export const register = async (email: string): Promise<boolean> => {
},
});
delete schoolUser?.promo;
const { token } = schoolUser
? await prisma.userCandidate.upsert({
where: { email },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment