Bad request error message

This commit is contained in:
mborzyszkowski 2020-08-28 19:01:10 +02:00
parent 93bc55a307
commit b11211a756

View File

@ -92,7 +92,7 @@ namespace InternshipSystem.Api.Controllers
if (registrationQuery.Type.HasValue && edition.IsInternshipTypeAllowed(registrationQuery.Type.Value)) if (registrationQuery.Type.HasValue && edition.IsInternshipTypeAllowed(registrationQuery.Type.Value))
{ {
return BadRequest("Edycja nie posiada takiego rodzaju zatrudnienia w dostępnych zatrudnieniach"); return BadRequest("Edition doesn't have this type of employment in available employments type");
} }
internshipRegistration.Type = registrationQuery.Type ?? internshipRegistration.Type; internshipRegistration.Type = registrationQuery.Type ?? internshipRegistration.Type;