| @@ -8,6 +8,7 @@ import { | ||||
|   IsString | ||||
| } from "class-validator"; | ||||
| import { Column, Entity, ManyToOne, OneToMany, PrimaryGeneratedColumn } from "typeorm"; | ||||
| import { config } from '../../config'; | ||||
| import { Address } from "./Address"; | ||||
| import { RunnerGroup } from "./RunnerGroup"; | ||||
|  | ||||
| @@ -62,7 +63,7 @@ export class GroupContact { | ||||
|    */ | ||||
|   @Column({ nullable: true }) | ||||
|   @IsOptional() | ||||
|   @IsPhoneNumber("DE") | ||||
|   @IsPhoneNumber(config.phone_validation_countrycode) | ||||
|   phone?: string; | ||||
|  | ||||
|   /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user