From 969ab9d3e3570b5b923ad0b27138dfbd92a9b98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Vin=C3=ADcius=20Sena?= Date: Thu, 27 Jun 2024 22:46:00 -0300 Subject: [PATCH] chore: remove checkLimit on CreateUser --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index 0758924..46b62c0 100644 --- a/routes/index.js +++ b/routes/index.js @@ -26,7 +26,7 @@ router.get('/users/stats', setRequiredToken, validToken, trackEvent, getUserStat router.get('/users/:email', setRequiredToken, validToken, trackEvent, getUser) router.post('/users/password/:email', trackEvent, resendNewPassword) -router.post('/users', checkRateLimit, trackEvent, createUser) +router.post('/users', trackEvent, createUser) router.put('/users/token', trackEvent, updateToken) router.delete('/users', setRequiredToken, validToken, trackEvent, removeUser)