fix(FN-695): transition project status from initializing to active in addProject()
This commit is contained in:
@@ -183,6 +183,11 @@ export class ProjectManager extends EventEmitter<ProjectManagerEvents> {
|
|||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Update project status from "initializing" to "active"
|
||||||
|
await this.centralCore.updateProject(project.id, {
|
||||||
|
status: "active",
|
||||||
|
});
|
||||||
|
|
||||||
// Store runtime
|
// Store runtime
|
||||||
this.runtimes.set(config.projectId, runtime);
|
this.runtimes.set(config.projectId, runtime);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user