Skip to content

Commit 908f898

Browse files
committed
update: api key not vsible for the fist time
1 parent 833d4de commit 908f898

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

backend/routes/projects.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ router.post('/', authMiddleware, async (req, res) => {
5252
await newProject.save();
5353

5454
const projectObj = newProject.toObject();
55-
delete projectObj.apiKey;
5655
delete projectObj.jwtSecret;
5756

5857
res.status(201).json(projectObj); // Fixed: .json()

0 commit comments

Comments
 (0)