mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-09 17:04:30 +08:00
removed regex
This commit is contained in:
parent
6458029d0a
commit
32bdcbbec0
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ router.post(
|
|||
validateRequest({
|
||||
body: {
|
||||
quoteId: joi.string().required(),
|
||||
editText: joi.string().regex(/^\w+$/).allow(null),
|
||||
editSource: joi.string().regex(/^\w+$/).allow(null),
|
||||
editText: joi.string().allow(null),
|
||||
editSource: joi.string().allow(null),
|
||||
},
|
||||
validationErrorMessage: "Please fill all the fields",
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue