add:module:user:repository:checkUserEmailAndUsernameAvailabillity | add repository for check username and email availabillity

This commit is contained in:
rafiarrafif
2025-06-16 21:37:53 +07:00
parent ac10ae14f6
commit f0e1614709
13 changed files with 143 additions and 24 deletions

View File

@ -6,7 +6,7 @@ import { Context } from "elysia";
import { getAllUsersService } from "../services/getAllUser.service";
import { mainErrorHandler } from "../../../helpers/error/handler";
export const getAllUser = async (ctx: Context) => {
export const getAllUserController = async (ctx: Context) => {
try {
const allUser = await getAllUsersService();
return returnReadResponse(