diff --git a/brainlet/api/v1/content.js b/brainlet/api/v1/content.js index 0ab6c5f..1a01e4a 100755 --- a/brainlet/api/v1/content.js +++ b/brainlet/api/v1/content.js @@ -13,7 +13,6 @@ const app = express.Router(); const createLimiter = rateLimit({ windowMs: 2 * 60 * 1000, max: 10, - message: "" }); mongoose.connect(config.mongoUrl, {useNewUrlParser: true, useUnifiedTopology: true}); diff --git a/brainlet/api/v1/users.js b/brainlet/api/v1/users.js index a40f06a..975f76d 100755 --- a/brainlet/api/v1/users.js +++ b/brainlet/api/v1/users.js @@ -15,7 +15,6 @@ const app = express.Router(); const createAccountLimiter = rateLimit({ windowMs: 60 * 60 * 1000, // 1 hour window max: 10, // start blocking after 10 requests - message: "" }); mongoose.connect(config.mongoUrl, {useNewUrlParser: true, useUnifiedTopology: true});