parent
af75d6cfec
commit
ec2ff981b2
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue