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

@ -255,6 +255,14 @@ const createAnswers = () => {
})
}
export const createFolder = (workspaceId: string, name: string) =>
prisma.dashboardFolder.create({
data: {
workspaceId,
name,
},
})
const parseTypebotToPublicTypebot = (
id: string,
typebot: Typebot