9 lines
231 B
JavaScript
9 lines
231 B
JavaScript
|
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;
|