mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 00:26:40 +00:00
feat: added defaultProduct as null
This commit is contained in:
@@ -13,7 +13,7 @@ const newProject = async (knex: Knex, projectId: string, projectType: ProjectTyp
|
|||||||
await knex(TableName.Project).insert({
|
await knex(TableName.Project).insert({
|
||||||
...project,
|
...project,
|
||||||
type: projectType,
|
type: projectType,
|
||||||
defaultProduct: projectType,
|
defaultProduct: null,
|
||||||
// @ts-ignore id is required
|
// @ts-ignore id is required
|
||||||
id: newProjectId,
|
id: newProjectId,
|
||||||
slug: slugify(`${project?.name}-${alphaNumericNanoId(8)}`)
|
slug: slugify(`${project?.name}-${alphaNumericNanoId(8)}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user