🏗️ Use tsup for bot and typebot-js packages
This commit is contained in:
committed by
Baptiste Arnaud
parent
0b58f4e976
commit
84163c6585
@ -8,8 +8,16 @@ require('dotenv').config({
|
||||
),
|
||||
})
|
||||
|
||||
const prisma = new PrismaClient()
|
||||
const prisma = new PrismaClient({ log: ['query', 'info', 'warn', 'error'] })
|
||||
|
||||
const main = async () => {}
|
||||
const main = async () => {
|
||||
const workspaces = await prisma.workspace.findMany({
|
||||
where: {
|
||||
members: { some: { userId: 'coucou' } },
|
||||
},
|
||||
})
|
||||
|
||||
console.log(workspaces)
|
||||
}
|
||||
|
||||
main().then()
|
||||
|
Reference in New Issue
Block a user