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 create-integration.ts

Kiran Kaedb826369c2
diff --git a/apps/web/scripts/create-integration.ts b/apps/web/scripts/create-integration.ts
index 17eabab0c3..fcfb244f5b 100644
--- a/apps/web/scripts/create-integration.ts
+++ b/apps/web/scripts/create-integration.ts
@@ -1,3 +1,4 @@
+import { createId } from "@/lib/api/create-id";
import { prisma } from "@dub/prisma";
import { DUB_WORKSPACE_ID } from "@dub/utils";
import "dotenv-flow/config";
@@ -5,18 +6,16 @@ import "dotenv-flow/config";
async function main() {
const integration = await prisma.integration.create({
data: {
- name: "Slack",
- slug: "slack",
- description: "Create links from Slack messages easily with Dub.",
+ id: createId({ prefix: "int_" }),
+ name: "Singular",
+ slug: "singular",
+ description: "Track Singular events with Dub.",
developer: "Dub",
website: "https://dub.co",
verified: true,
projectId: DUB_WORKSPACE_ID,
-
- // screenshots: [],
- // userId: "",
- // logo: "",
- // readme: "",
+ category: "",
+ guideUrl: "",
},
});