refactor: remove unused role

This commit is contained in:
Methapon Metanipat 2024-09-04 14:12:57 +07:00
parent c5600add96
commit 0c80d8fbdb
10 changed files with 11 additions and 62 deletions

View file

@ -24,15 +24,7 @@ if (!process.env.MINIO_BUCKET) {
}
const MINIO_BUCKET = process.env.MINIO_BUCKET;
const MANAGE_ROLES = [
"system",
"head_of_admin",
"admin",
"branch_admin",
"branch_manager",
"head_of_sale",
"sale",
];
const MANAGE_ROLES = ["system", "head_of_admin", "admin", "branch_manager", "head_of_sale", "sale"];
export type CustomerCreate = {
registeredBranchId?: string;