From b11211a7562d28e019f9b5845a4c2d5519e5952a Mon Sep 17 00:00:00 2001 From: mborzyszkowski Date: Fri, 28 Aug 2020 19:01:10 +0200 Subject: [PATCH] Bad request error message --- .../Controllers/InternshipRegistrationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InternshipSystem.Api/Controllers/InternshipRegistrationController.cs b/src/InternshipSystem.Api/Controllers/InternshipRegistrationController.cs index 3747050..5914f3e 100644 --- a/src/InternshipSystem.Api/Controllers/InternshipRegistrationController.cs +++ b/src/InternshipSystem.Api/Controllers/InternshipRegistrationController.cs @@ -92,7 +92,7 @@ namespace InternshipSystem.Api.Controllers 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;