Update user_wall.js

This commit is contained in:
Troplo 2021-04-10 18:25:15 +10:00
parent 99c8b42938
commit 4ca3429dc0

View file

@ -11,7 +11,7 @@ const postLimiter = rateLimit({
max: 10,
message: "{\"errors\":[{\"name\":\"rateLimit\",\"message\":\"You may only make 10 requests to this endpoint per minute.\",\"status\":429}]}"
});
router.get('/show/:username', auth, async(req, res, next) => {
router.get('/show/:username', async(req, res, next) => {
try {
let { limit } = pagination.getPaginationProps(req.query, true)