title: How do you re-route multiple Express.js paths and return a single result?
body: <p>I have several .get requests that I normally call, like this:
  notesController</p>
  
  <pre><code>controller.get('/customers/', async (req, res, next) =&gt; {
      const customers = await Customer.find();
      res.status(200).send(customers);
    });
  
  controller.get('/documents/', async (req, res, next) =&gt; {
      const orders = await Order.find();
      res.status(200).send(orders);
    });
  </code></pre>
  
  <p>In certain circumstances, I'd like to be able to call both at once, like this:</p>
  
  <pre><code>controller.get('/version/', async (req, res, next) =&gt; {
    const ver = await Version.findById(req.headers.sub);
    if (req.headers.dbversion === ver.dbversion) {
       res.status(200).send({ versionMatch: true });
     } else {
       req.url = '/customers/';
       const custData = await controller.handle(req, res, next);
       req.url = '/orders/';
       const orders = await controller.handle(req, res, next);
       res.status(200).send({ customers: custData, docs: invoices });
       }
     });
  </code></pre>
  
  <p>But this doesn't work. Adding a console message in my .get('/customers') function, I can see that it is being called, but isn't returning any data. My desired result is that I make one API call, and if the conditions are met, it returns both sets of data at once. How do I best achieve that?</p>