Skip to content

Commit 56acf9e

Browse files
committed
fix: ProjectRouter dict fix
1 parent 2b1bd7f commit 56acf9e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

codeframe/ui/routers/projects.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,12 @@ async def create_project(
197197
)
198198

199199
return ProjectResponse(
200-
id=project.id,
201-
name=project.name,
202-
status=project.status.value,
203-
phase=project.phase.value,
204-
created_at=project.created_at.isoformat(),
205-
config=project.config,
200+
id=project["id"],
201+
name=project["name"],
202+
status=project["status"].value,
203+
phase=project["phase"].value,
204+
created_at=project["created_at"].isoformat(),
205+
config=project["config"],
206206
)
207207

208208

0 commit comments

Comments
 (0)