no message

This commit is contained in:
kittapath 2024-11-25 17:07:44 +07:00
parent 0b4e597a81
commit 859c61aa99

View file

@ -78,11 +78,11 @@ export class PermissionOrgController extends Controller {
}) })
.orderBy("orgRoot.orgRootOrder", "ASC") .orderBy("orgRoot.orgRootOrder", "ASC")
.getMany(); .getMany();
data.map((x) => ({ const _data = data.map((x) => ({
...x, ...x,
labelName: `${x.orgRootName} ${x.orgRootCode} ${x.orgRootShortName}`, labelName: `${x.orgRootName} ${x.orgRootCode} ${x.orgRootShortName}`,
})); }));
return new HttpSuccess(data); return new HttpSuccess(_data);
} }
@Get("profile") @Get("profile")