Fixed typo

ref #112
This commit is contained in:
2021-01-21 18:45:15 +01:00
parent 6434b4dfce
commit 46f9503543
3 changed files with 6 additions and 6 deletions

View File

@@ -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'); }
}
}