mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: check if a quest is unlocked before creating session
This commit is contained in:
1 parent
c2dac8d385
commit
92181d960f
4 files changed
+32
-8
No files matched your search
@@ -5,7 +5,3 @@ export const checkQuestId = () =>
|
||||
check('questId').notEmpty().isString().isAlphanumeric().isLength({ max: 64 })
|
||||
|
||||
export const questIdValidator = [checkQuestId(), noError]
|
||||
|
||||
export default {
|
||||
questIdValidator,
|
||||
}
|
||||
Reference in new issue
Block a user