⚗️ add minio lib

add minio lib for storing file in file system as bucket storage
This commit is contained in:
Rafi Arrafif
2025-07-21 15:21:37 +07:00
parent a6571461db
commit 945caca728
7 changed files with 108 additions and 12 deletions

View File

@ -11,7 +11,12 @@ export const createUserRoleWithAdminController = async (ctx: Context) => {
...body,
createdBy: "787",
});
return returnWriteResponse(ctx.set, 201, "User role created successfully");
return returnWriteResponse(
ctx.set,
201,
"User role created successfully",
createUserRole
);
} catch (error) {
return mainErrorHandler(ctx.set, error);
}