Change the user creation flow in the register so that it must go through the main create user service first instead of directly accessing the create user repo.
7 lines
156 B
TypeScript
7 lines
156 B
TypeScript
import Elysia from "elysia";
|
|
|
|
export const userSessionModule = new Elysia({ prefix: "/sessions" }).get(
|
|
"/",
|
|
() => "User Session Module is working!"
|
|
);
|