@@ -46,7 +46,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
|
||||
*/
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
registrtionEnabled?: boolean = true;
|
||||
registrationEnabled?: boolean = true;
|
||||
|
||||
/**
|
||||
* Creates a ResponseRunnerOrganisation object from a runnerOrganisation.
|
||||
@@ -56,7 +56,7 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
|
||||
super(org);
|
||||
this.address = org.address;
|
||||
this.teams = org.teams;
|
||||
if (!org.key) { this.registrtionEnabled = false; }
|
||||
if (!org.key) { this.registrationEnabled = false; }
|
||||
else { this.registrationKey = Buffer.from(org.key).toString('base64'); }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user