no message

This commit is contained in:
kittapath 2024-10-09 13:13:47 +07:00
parent 552c3ea1fe
commit b14d2d4a46

View file

@ -3429,10 +3429,10 @@ export class ProfileController extends Controller {
}, },
relations: ["orgChild1"], relations: ["orgChild1"],
}); });
if (!posMasters) { if (posMasters == null || posMasters.orgRoot == null) {
return new HttpSuccess(false); return new HttpSuccess(false);
} }
return new HttpSuccess(posMasters.orgChild1.isOfficer); return new HttpSuccess(posMasters);
} }
/** /**