Spaces:
Runtime error
Runtime error
Download src/validators/forgotPassword.validator.ts from sifars/automated-invoice-processing-agent-backend: direct link, hf CLI and curl.
- Browser
- Download file 157 Bytes
-
https://huggingface.co/spaces/sifars/automated-invoice-processing-agent-backend/resolve/main/src/validators/forgotPassword.validator.ts
- Command line
-
hf download hf://spaces/sifars/automated-invoice-processing-agent-backend/src/validators/forgotPassword.validator.ts
-
curl -L -o forgotPassword.validator.ts https://huggingface.co/spaces/sifars/automated-invoice-processing-agent-backend/resolve/main/src/validators/forgotPassword.validator.ts
157 Bytes
| import { body } from 'express-validator'; | |
| export const validateForgotPassword = [ | |
| body('email').isEmail().withMessage('Must be a valid email address'), | |
| ]; |