Bad request error message
This commit is contained in:
parent
93bc55a307
commit
b11211a756
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user