Fix typo in error message

This commit is contained in:
Girish Ramakrishnan
2017-07-15 19:58:52 -05:00
parent acd00222e5
commit aa5cc68301

View File

@@ -173,7 +173,7 @@ function configureApp(req, res, next) {
if (('debugMode' in data) && typeof data.debugMode !== 'object') return next(new HttpError(400, 'debugMode must be an object'));
if (data.robotsTxt && typeof data.robotsTxt !== 'string') return next(new HttpError(400, 'robotsTxt must be an object'));
if (data.robotsTxt && typeof data.robotsTxt !== 'string') return next(new HttpError(400, 'robotsTxt must be a string'));
debug('Configuring app id:%s data:%j', req.params.id, data);