Can i use check into a custom validation in express-validator

前端 未结 0 554
-上瘾入骨i
-上瘾入骨i 2020-12-17 20:32

I have this code to validate only a valid email and valid latitud and longitude.

    return [
    check(\'email\')
    .exists().withMessage((_, { req }) =>         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题