Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
marode-cap committed Nov 15, 2023
1 parent 938768d commit d34d1a8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/modules/organisation/api/organisation.uc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ export class OrganisationUc {
}

public async findVerwaltetVon(parentOrganisationId: string): Promise<Paged<OrganisationResponse>> {
const result: Paged<OrganisationDo<true>> = await this.organisationService.findAllVerwaltetVon(
parentOrganisationId,
);
const result: Paged<OrganisationDo<true>> =
await this.organisationService.findAllVerwaltetVon(parentOrganisationId);

const organisations: OrganisationResponse[] = this.mapper.mapArray(
result.items,
Expand All @@ -135,9 +134,8 @@ export class OrganisationUc {
}

public async findZugehoerigZu(parentOrganisationId: string): Promise<Paged<OrganisationResponse>> {
const result: Paged<OrganisationDo<true>> = await this.organisationService.findAllZugehoerigZu(
parentOrganisationId,
);
const result: Paged<OrganisationDo<true>> =
await this.organisationService.findAllZugehoerigZu(parentOrganisationId);

const organisations: OrganisationResponse[] = this.mapper.mapArray(
result.items,
Expand Down

0 comments on commit d34d1a8

Please sign in to comment.