1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-09-02 12:42:38 +02:00

Consolidated data retrieval code.

This commit is contained in:
Chung Leong
2019-01-30 12:44:30 +01:00
parent 4b34ab39cd
commit 7e02514752
15 changed files with 384 additions and 154 deletions

View File

@@ -51,8 +51,8 @@ async function handleTimestampRequest(req, res, next) {
}
async function handleFavIconRequest(req, res, next) {
let error = new Error('Not found');
error.status = 404;
let err = new Error('Not found');
err.status = 404;
next(err);
}