Skip to content

Commit 8850389

Browse files
author
Vikas Agarwal
committed
Corrected error message
1 parent fb9eb94 commit 8850389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/projects/delete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = [
2020
models.Project.findByPk(req.params.projectId)
2121
.then((entity) => {
2222
if (!entity) {
23-
const apiErr = new Error(`Project template not found for template id ${projectId}`);
23+
const apiErr = new Error(`Project not found for id ${projectId}`);
2424
apiErr.status = 404;
2525
return Promise.reject(apiErr);
2626
}

0 commit comments

Comments
 (0)