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