add:module:user:repository:checkUserEmailAndUsernameAvailabillity | add repository for check username and email availabillity
This commit is contained in:
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user