remove return new HttpSuccess([]) more
This commit is contained in:
parent
bfae3e012d
commit
6642f395f0
13 changed files with 39 additions and 39 deletions
|
|
@ -67,9 +67,9 @@ export class OrganizationController extends Controller {
|
|||
],
|
||||
order: { orgRevisionCreatedAt: "DESC" },
|
||||
});
|
||||
if (!orgRevision) {
|
||||
return new HttpSuccess([]);
|
||||
}
|
||||
// if (!orgRevision) {
|
||||
// return new HttpSuccess([]);
|
||||
// }
|
||||
const mapOrgRevisions = orgRevision.map((revision) => ({
|
||||
orgRevisionId: revision.id,
|
||||
orgRevisionName: revision.orgRevisionName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue