Skip to content

Commit

Permalink
fix(be): typo in stop resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
krystxf committed Oct 6, 2024
1 parent afc62a6 commit 63fb254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend-nest/src/modules/stop/stop.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { metroOnlyQuery } from "src/swagger/query.swagger";

@Resolver(() => Stop)
export class StopResolver {
constructor(private readonly stopSerice: StopService) {}
constructor(private readonly stopService: StopService) {}

@Query(() => [Stop], {
description: "Get all stops",
Expand All @@ -20,6 +20,6 @@ export class StopResolver {
})
metroOnly,
): Promise<Stop[]> {
return await this.stopSerice.getAll({ metroOnly });
return this.stopService.getAll({ metroOnly });
}
}

0 comments on commit 63fb254

Please sign in to comment.