Citizen runners now have to provide an email address for verification
ref #112
This commit is contained in:
@@ -35,6 +35,17 @@ export class RunnerGroupNeededError extends NotAcceptableError {
|
||||
message = "Runner's need to be part of one group (team or organisation)! \n You provided neither."
|
||||
}
|
||||
|
||||
/**
|
||||
* Error to throw when a citizen runner has no mail-address.
|
||||
*/
|
||||
export class RunnerEmailNeededError extends NotAcceptableError {
|
||||
@IsString()
|
||||
name = "RunnerEmailNeededError"
|
||||
|
||||
@IsString()
|
||||
message = "Citizenrunners have to provide an email address for verification and contacting."
|
||||
}
|
||||
|
||||
/**
|
||||
* Error to throw when a runner still has distance donations associated.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user