Fix example error codes

This commit is contained in:
Ajay Ramachandran 2020-10-11 13:14:52 -04:00
parent 9aba0560a1
commit d7763b688d
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
"windowMs": 900000, // 15 minutes
"max": 20, // 20 requests in 15min time window
"message": "Too many votes, please try again later",
"statusCode": 200
"statusCode": 429
},
"view": {
"windowMs": 900000, // 15 minutes

View file

@ -55,7 +55,7 @@
"windowMs": 900000,
"max": 20,
"message": "Too many votes, please try again later",
"statusCode": 200
"statusCode": 429
},
"view": {
"windowMs": 900000,