fix wildcard for auth middleware

This commit is contained in:
2023-03-16 11:47:59 +01:00
parent 9e70e15181
commit 436280835e
+1 -1
View File
@@ -11,7 +11,7 @@ router.use('/', register)
//auth middleware //auth middleware
router.post( router.post(
'/:serverId', '/:serverId*',
header('authorization') header('authorization')
.exists({ checkFalsy: true }) .exists({ checkFalsy: true })
.withMessage('Missing Authorization Header') .withMessage('Missing Authorization Header')