From 45d5bdc8e75dd9cd3b45bfa9dbeaa090c1b539de Mon Sep 17 00:00:00 2001 From: mj52951 Date: Thu, 19 Dec 2024 15:27:55 +0100 Subject: [PATCH] Naming fix --- src/api/services/dataAccess/domains.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/services/dataAccess/domains.service.ts b/src/api/services/dataAccess/domains.service.ts index 08dfe4c..c08f104 100644 --- a/src/api/services/dataAccess/domains.service.ts +++ b/src/api/services/dataAccess/domains.service.ts @@ -13,12 +13,12 @@ export class DomainsService { } public async findDomains(where: FindOptionsWhere): Promise { - const routes = await this.domainRepository.find({ + const domains = await this.domainRepository.find({ where, order: { id: "ASC", }, }); - return routes; + return domains; } }