stack_overflow_nextjs14
stack_overflow_nextjs14 copied to clipboard
why we delete the user again here?
https://github.com/adrianhajdin/stack_overflow_nextjs14/blob/8ae67d5e0d5e54a839c6a6fb646e8cc71e23f231/lib/actions/user.action.ts#L82
we already have const user = await User.findOneAndDelete({ clerkId });