We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9eb94 commit 8850389Copy full SHA for 8850389
src/routes/projects/delete.js
@@ -20,7 +20,7 @@ module.exports = [
20
models.Project.findByPk(req.params.projectId)
21
.then((entity) => {
22
if (!entity) {
23
- const apiErr = new Error(`Project template not found for template id ${projectId}`);
+ const apiErr = new Error(`Project not found for id ${projectId}`);
24
apiErr.status = 404;
25
return Promise.reject(apiErr);
26
}
0 commit comments