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

@@ -28,7 +28,7 @@ export class UpdateRunnerOrganisation extends CreateRunnerGroup {
*/
@IsNotEmpty()
@IsBoolean()
registrtionEnabled: boolean;
registrationEnabled: boolean;
/**
* Updates a provided RunnerOrganisation entity based on this.
@@ -41,7 +41,7 @@ export class UpdateRunnerOrganisation extends CreateRunnerGroup {
else { organisation.address = this.address; }
Address.validate(organisation.address);
if (this.registrtionEnabled) {
if (this.registrationEnabled) {
organisation.key = uuid.v4().toUpperCase();
}
else {