remove return new HttpSuccess([]) more

This commit is contained in:
AdisakKanthawilang 2024-02-28 15:07:35 +07:00
parent bfae3e012d
commit 6642f395f0
13 changed files with 39 additions and 39 deletions

View file

@ -143,9 +143,9 @@ export class RelationshipController extends Controller {
select: ["id", "name", "createdAt", "lastUpdatedAt", "createdFullName", "lastUpdateFullName"],
order: { createdAt: "ASC" },
});
if (!relationship) {
return new HttpSuccess([]);
}
// if (!relationship) {
// return new HttpSuccess([]);
// }
return new HttpSuccess(relationship);
}
}