I have an API endpoint which looks like this -
router.get( "/checklist/getactions", [authenticate, validateUser], async (req, res) => {