+ if (areValidationErrors(req, res)) return
+
+ if (!await doesAccountIdExist(req.query.accountId, res)) return
+ if (!await doesUserFeedTokenCorrespond(res.locals.account.userId, req.query.token, res)) return
+
+ return next()
+ }
+]
+
+const videoCommentsFeedsValidator = [
+ query('videoId')
+ .optional()
+ .customSanitizer(toCompleteUUID)
+ .custom(isIdOrUUIDValid),