Credentials
Scenario 1: Sign up/Sign in with Free Account
Scenario 2: Sign up as a New Client Who Has Just Subscribed to a Plan
await prisma.clientPlan.create({ data: { userId, subscriptionPlan: existingPreClientPlan.plan, status: "ACTIVE", subscriptionType: existingPreClientPlan.subscriptionType, // ...other fields }, });
Last updated