2
0

🗃️ Set new fields column to not null

This commit is contained in:
Baptiste Arnaud
2023-02-01 11:09:29 +01:00
parent 1b060dac2d
commit a5dc9821d6
2 changed files with 26 additions and 1 deletions

View File

@ -291,7 +291,7 @@ const getResult = async ({
const data = {
isCompleted: false,
typebotId: typebot,
variables: { set: startVariables.filter((variable) => variable.value) },
variables: startVariables.filter((variable) => variable.value),
} satisfies Prisma.ResultUncheckedCreateInput
const select = {
id: true,