latest work #20

Merged
philipp merged 233 commits from dev into main 2020-12-09 18:49:33 +00:00
Showing only changes of commit ec2ff981b2 - Show all commits

View File

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