import Route from "../route.js"; import auth from "../form/auth.js"; let main = new Route([auth], async function (req, res, input) { let { username, valid } = input; res.send({ username, valid }); }); export default main;