rename to controller

main
Ethan Niser 2023-09-14 16:03:43 -05:00
parent 83a37d31df
commit 06efaa1d04
4 changed files with 2 additions and 2 deletions

Binary file not shown.

@ -1,7 +1,7 @@
import Elysia from "elysia"; import Elysia from "elysia";
import { todosService } from "./todos"; import { todosService as todosController } from "./todos";
export const api = new Elysia({ export const api = new Elysia({
name: "@app/api", name: "@app/api",
prefix: "/api", prefix: "/api",
}).use(todosService); }).use(todosController);