Created
October 25, 2022 14:25
-
-
Save appletreeat56/29c10abebe0376b5111336690b5a7afe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
router.post( | |
'/', | |
checkSchema(charitySchema), | |
validateCharity, | |
async (req: Request, res: Response, next: NextFunction) => { | |
// Insert business logic post validation here | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment