Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects

deploy

Merged David Johan Hasiholan Parhusip requested to merge david-2 into deploy
29 files
+ 197
167
Compare changes
  • Side-by-side
  • Inline
Files
29
@@ -23,7 +23,7 @@ public class ApotekerRestController {
private ApotekerServiceImpl apotekerService;
@PostMapping(value = "/add")
private ApotekerModel createApoteker(@Valid @RequestBody ApotekerModel apoteker, BindingResult bindingResult, Authentication authentication) {
public ApotekerModel createApoteker(@Valid @RequestBody ApotekerModel apoteker, BindingResult bindingResult, Authentication authentication) {
if (bindingResult.hasFieldErrors()) {
log.info("Body has invalid type or missing field when creating Apoteker.");
throw new ResponseStatusException(
Loading