Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update seed-installation.ts

Kiran K8cdca7300aed
diff --git a/apps/web/scripts/dev/seed-installation.ts b/apps/web/scripts/dev/seed-installation.ts
index a40d5f2ca7..5d9cf3d69a 100644
--- a/apps/web/scripts/dev/seed-installation.ts
+++ b/apps/web/scripts/dev/seed-installation.ts
@@ -3,20 +3,8 @@ import { STRIPE_INTEGRATION_ID } from "@dub/utils";
import "dotenv-flow/config";
async function main() {
- await prisma.installedIntegration.upsert({
- where: {
- userId_integrationId_projectId: {
- userId: "user_cludszk1h0000wmd2e0ea2b0p",
- integrationId: STRIPE_INTEGRATION_ID,
- projectId: "ws_1KETZ919F83ZJH6A80HWEHW6E",
- },
- },
- update: {
- settings: {
- stripeMode: "test",
- },
- },
- create: {
+ await prisma.installedIntegration.create({
+ data: {
userId: "user_cludszk1h0000wmd2e0ea2b0p",
integrationId: STRIPE_INTEGRATION_ID,
projectId: "ws_1KETZ919F83ZJH6A80HWEHW6E",