2
0

fix(collab): 🛂 Hide folders for guests

This commit is contained in:
Baptiste Arnaud
2022-06-20 11:16:36 +02:00
parent 20dbfe64c9
commit 85601fc1de
4 changed files with 45 additions and 7 deletions

View File

@ -1,4 +1,4 @@
import { CollaborationType, PrismaClient } from 'db'
import { PrismaClient } from 'db'
import path from 'path'
const prisma = new PrismaClient({
log: [
@ -34,9 +34,6 @@ const main = async () => {
console.log('Params: ' + e.params)
console.log('Duration: ' + e.duration + 'ms')
})
const results =
await prisma.$queryRaw`DELETE FROM "public"."Result" WHERE "public"."Result"."typebotId"='ckzqqer3j002509l3np5x3v2y'`
console.log(results)
}
main().then()