feat: check if a quest is unlocked before creating session

This commit is contained in:
wancat authored and Lin, Hung-Shin committed 2023-11-14 10:45:24 +08:00
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,
}