2.18.0: New Invitation flow, refactored Database Webhooks, new ShadCN UI Components (#384)
* Streamlined invitations flow * Removed web hooks in favor of handling logic directly in server actions * Added new Shadcn UI Components
This commit is contained in:
committed by
GitHub
parent
195cf41680
commit
2e20d3e76f
@@ -85,8 +85,10 @@ export const deletePersonalAccountAction = enhanceAction(
|
||||
// delete the user's account and cancel all subscriptions
|
||||
await service.deletePersonalAccount({
|
||||
adminClient: getSupabaseServerAdminClient(),
|
||||
userId: user.id,
|
||||
userEmail: user.email ?? null,
|
||||
account: {
|
||||
id: user.id,
|
||||
email: user.email ?? null,
|
||||
},
|
||||
});
|
||||
|
||||
// sign out the user after deleting their account
|
||||
|
||||
Reference in New Issue
Block a user