diff --git a/src/controllers/RunnerOrganisationController.ts b/src/controllers/RunnerOrganisationController.ts index 6297073..1575ef0 100644 --- a/src/controllers/RunnerOrganisationController.ts +++ b/src/controllers/RunnerOrganisationController.ts @@ -11,13 +11,13 @@ import { RunnerGroup } from '../models/RunnerGroup'; @JsonController('/organisations') //@Authorized('RUNNERS:read') export class RunnerOrganisationController { - private runnerOrganisationRepository: Repository; + private runnerOrganisationRepository: Repository; /** * Gets the repository of this controller's model/entity. */ constructor() { - this.runnerOrganisationRepository = getConnectionManager().get().getRepository(RunnerGroup); + this.runnerOrganisationRepository = getConnectionManager().get().getRepository(RunnerOrganisation); } @Get()