diff --git a/src/routes/apps.js b/src/routes/apps.js index baa16ec5a..65a74e20f 100644 --- a/src/routes/apps.js +++ b/src/routes/apps.js @@ -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);