Renamed files and classed from *Organisation* to *Organization*📝
ref #117
This commit is contained in:
@@ -3,7 +3,7 @@ import { getConnection } from 'typeorm';
|
||||
import { RunnerEmailNeededError } from '../../../errors/RunnerErrors';
|
||||
import { Address } from '../../entities/Address';
|
||||
import { Runner } from '../../entities/Runner';
|
||||
import { RunnerOrganisation } from '../../entities/RunnerOrganisation';
|
||||
import { RunnerOrganization } from '../../entities/RunnerOrganization';
|
||||
import { CreateParticipant } from './CreateParticipant';
|
||||
|
||||
/**
|
||||
@@ -46,7 +46,7 @@ export class CreateSelfServiceCitizenRunner extends CreateParticipant {
|
||||
/**
|
||||
* Gets the new runner's group by it's id.
|
||||
*/
|
||||
public async getGroup(): Promise<RunnerOrganisation> {
|
||||
return await getConnection().getRepository(RunnerOrganisation).findOne({ id: 1 });
|
||||
public async getGroup(): Promise<RunnerOrganization> {
|
||||
return await getConnection().getRepository(RunnerOrganization).findOne({ id: 1 });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user