mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Fixed wrong status code type
- `statusCode` should be a number, but we were passing a string - this doesn't really affect anything, but tsserver was flagging it up as the wrong type
This commit is contained in:
parent
b29c897da3
commit
de435238f4
@ -64,7 +64,7 @@ const notImplemented = function notImplemented(req, res, next) {
|
||||
next(new errors.InternalServerError({
|
||||
errorType: 'NotImplementedError',
|
||||
message: tpl(messages.notImplemented),
|
||||
statusCode: '501'
|
||||
statusCode: 501
|
||||
}));
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user