From be67d639f86d5d16d40c38fac922b3943223d436 Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Mon, 21 Oct 2024 20:04:59 +0000 Subject: [PATCH] deleting un-needed script --- script.ts | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 script.ts diff --git a/script.ts b/script.ts deleted file mode 100644 index f38b607..0000000 --- a/script.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { PrismaClient } from '@prisma/client' - -const prisma = new PrismaClient() - -async function main() { - const user = await prisma.webhook.create({ - data: { - headers: '{"Content-Type":"application/json"}', - method: 'POST', - path: '/', - body: '{"message":"Hello, world!"}' - } - }) - console.log(user) -} - -main() - .then(async () => { - await prisma.$disconnect() - }) - .catch(async (e) => { - console.error(e) - await prisma.$disconnect() - process.exit(1) - }) \ No newline at end of file