⚗️ add minio lib
add minio lib for storing file in file system as bucket storage
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user