mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-03 12:04:57 +08:00
removed regex check
This commit is contained in:
parent
3246c3ce21
commit
6458029d0a
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ router.post(
|
|||
RateLimit.newQuotesAdd,
|
||||
validateRequest({
|
||||
body: {
|
||||
text: joi.string().min(60).regex(/^\w+$/).required(),
|
||||
source: joi.string().regex(/^\w+$/).required(),
|
||||
text: joi.string().min(60).required(),
|
||||
source: joi.string().required(),
|
||||
language: joi.string().regex(/^\w+$/).required(),
|
||||
captcha: joi.string().required(),
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue