Use express validator and custom validation on field node js

后端 未结 0 1400
暖寄归人
暖寄归人 2021-01-17 07:19

I am using express validator for validation. I wanted to check if the name is not empty and if it exists then remove the extra spaces between the string.

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