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:
Daniel Lockyer 2024-05-06 21:20:03 +02:00 committed by Daniel Lockyer
parent b29c897da3
commit de435238f4

View File

@ -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
}));
};