1 parent
6434b4dfce
commit
46f9503543
3 files changed
+6
-6
No files matched your search
@@ -21,7 +21,7 @@ export class CreateRunnerOrganisation extends CreateRunnerGroup {
|
||||
*/
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
registrtionEnabled?: boolean = false;
|
||||
registrationEnabled?: boolean = false;
|
||||
|
||||
/**
|
||||
* Creates a new RunnerOrganisation entity from this.
|
||||
@@ -34,7 +34,7 @@ export class CreateRunnerOrganisation extends CreateRunnerGroup {
|
||||
newRunnerOrganisation.address = this.address;
|
||||
Address.validate(newRunnerOrganisation.address);
|
||||
|
||||
if (this.registrtionEnabled) {
|
||||
if (this.registrationEnabled) {
|
||||
newRunnerOrganisation.key = uuid.v4().toUpperCase();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user