renamed unused parameter
This commit is contained in:
@@ -20,7 +20,7 @@ public class VisaApplicationCreateRequestValidator : AbstractValidator<VisaAppli
|
|||||||
.NotEmpty()
|
.NotEmpty()
|
||||||
.WithMessage("Non-residents must provide re-entry permission")
|
.WithMessage("Non-residents must provide re-entry permission")
|
||||||
.SetValidator(reentryPermitValidator)
|
.SetValidator(reentryPermitValidator)
|
||||||
.WhenAsync(async (r, ct) =>
|
.WhenAsync(async (_, ct) =>
|
||||||
await applicants.IsApplicantNonResidentByUserId(userIdProvider.GetUserId(), ct));
|
await applicants.IsApplicantNonResidentByUserId(userIdProvider.GetUserId(), ct));
|
||||||
|
|
||||||
RuleFor(r => r.DestinationCountry)
|
RuleFor(r => r.DestinationCountry)
|
||||||
@@ -50,4 +50,4 @@ public class VisaApplicationCreateRequestValidator : AbstractValidator<VisaAppli
|
|||||||
RuleForEach(r => r.PastVisits)
|
RuleForEach(r => r.PastVisits)
|
||||||
.SetValidator(pastVisitValidator);
|
.SetValidator(pastVisitValidator);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user