summaryrefslogtreecommitdiff
path: root/app/api/projects/route.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/api/projects/route.ts')
-rw-r--r--app/api/projects/route.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/api/projects/route.ts b/app/api/projects/route.ts
index c64676c6..69aac8c3 100644
--- a/app/api/projects/route.ts
+++ b/app/api/projects/route.ts
@@ -18,6 +18,7 @@ export async function POST(request: NextRequest) {
const project = await projectService.createProject(
{
name: body.name,
+ code: body.code,
description: body.description,
isPublic: body.isPublic || false,
},