router.route('/:id/detailsSent').put(
    secure,
    wrap(function* markAsDetailsSent(req, res) {
      const { id } = req.params;