main #9

Closed
student-20690 wants to merge 26 commits from (deleted):main into main
Showing only changes of commit a13f3ebf33 - Show all commits

View File

@@ -35,15 +35,15 @@ public class EmployeeController {
if (employeeService.isCodeValid(code)) {
return ResponseEntity
.status(HttpStatus.OK)
.body("<html><i> данный код существует - можно пользоваться приложением</b></html>");
.body("данный код существует - можно пользоваться приложением");
} else if (code == null) {
return ResponseEntity
.status(HttpStatus.BAD_REQUEST)
.body("<html><b> что-то пошло не так</b></html>");
.body("что-то пошло не так");
} else {
return ResponseEntity
.status(HttpStatus.UNAUTHORIZED)
.body("<html>кода не существует</html>");
.body("кода не существует");
}
}