Now creating runner orgs again

ref #13
This commit is contained in:
Nicolai Ort 2020-12-03 19:25:02 +01:00
parent af75d6cfec
commit ec2ff981b2
1 changed files with 2 additions and 2 deletions

View File

@ -11,13 +11,13 @@ import { RunnerGroup } from '../models/RunnerGroup';
@JsonController('/organisations')
//@Authorized('RUNNERS:read')
export class RunnerOrganisationController {
private runnerOrganisationRepository: Repository<RunnerGroup>;
private runnerOrganisationRepository: Repository<RunnerOrganisation>;
/**
* Gets the repository of this controller's model/entity.
*/
constructor() {
this.runnerOrganisationRepository = getConnectionManager().get().getRepository(RunnerGroup);
this.runnerOrganisationRepository = getConnectionManager().get().getRepository(RunnerOrganisation);
}
@Get()