Spaces:
Sleeping
Sleeping
Update app.js
Browse files
app.js
CHANGED
|
@@ -300,7 +300,7 @@ app.post('/new/project', validateRequest, (req, res) => {
|
|
| 300 |
// 1. Immediately acknowledge request
|
| 301 |
// We set status to 'working' or 'initializing' immediately so frontend shows a loader
|
| 302 |
if(db) db.ref(`projects/${projectId}/info/status`).set("initializing");
|
| 303 |
-
|
| 304 |
res.json({
|
| 305 |
success: true,
|
| 306 |
message: "Project initialization started in background."
|
|
|
|
| 300 |
// 1. Immediately acknowledge request
|
| 301 |
// We set status to 'working' or 'initializing' immediately so frontend shows a loader
|
| 302 |
if(db) db.ref(`projects/${projectId}/info/status`).set("initializing");
|
| 303 |
+
console.log("Received new project request ")
|
| 304 |
res.json({
|
| 305 |
success: true,
|
| 306 |
message: "Project initialization started in background."
|