This commit is contained in:
killian-larcher
2024-11-11 19:21:13 +01:00
parent 262322cfa6
commit baf69c0295
2 changed files with 6 additions and 21 deletions
@@ -26,7 +26,7 @@ export const deleteUserAction = userAction
userId: ctx.user.id,
}
})
if(account){
if (account) {
await prisma.account.delete({
where: {
id: account.id