deleting un-needed script

This commit is contained in:
Luke Hagar
2024-10-21 20:04:59 +00:00
parent 03bc0aab7f
commit be67d639f8

View File

@@ -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)
})