test เผยแพร่

This commit is contained in:
Adisak 2026-06-15 10:58:56 +07:00
parent 3a6d359a06
commit 5c5fc08269
4 changed files with 22 additions and 22 deletions

View file

@ -65,8 +65,7 @@ export class PermissionProfileController extends Controller {
if (!request.user.role.includes("SUPER_ADMIN")) {
rootId =
orgRevisionActive?.posMasters?.filter((x) => x.next_holderId == profile.id)[0]
// orgRevisionActive?.posMasters?.filter((x) => x.current_holderId == profile.id)[0]
orgRevisionActive?.posMasters?.filter((x) => x.current_holderId == profile.id)[0]
?.orgRootId || null;
if (!rootId) return new HttpSuccess([]);
}