budibase/packages/server/src/api/routes/auth.ts

9 lines
182 B
TypeScript

import Router from "@koa/router"
import * as controller from "../controllers/auth"
const router = new Router()
router.get("/api/self", controller.fetchSelf)
export default router