no message
This commit is contained in:
parent
ad08061836
commit
ab365257de
1 changed files with 6 additions and 1 deletions
|
|
@ -471,7 +471,12 @@ export class OrganizationUnauthorizeController extends Controller {
|
|||
const data = await this.orgRootRepository.find({
|
||||
where: { orgRevisionId: orgRevisionActive.id },
|
||||
});
|
||||
return new HttpSuccess(data.map((x) => x.id));
|
||||
return new HttpSuccess(
|
||||
data.map((x) => ({
|
||||
rootId: x.id,
|
||||
root: x.orgRootName,
|
||||
})),
|
||||
);
|
||||
} catch (error) {
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue