mise a jour fichier sana
This commit is contained in:
parent
bb5cd4b57b
commit
45cecb0079
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class MembreController {
|
|||
membreRepo.deleteById(id);
|
||||
return ResponseEntity.status(HttpStatus.OK).body("Membre supprimé !");
|
||||
} catch (Exception e) {
|
||||
MembreNotFoundException membreNotFoundException = new membreNotFoundException(id);
|
||||
MembreNotFoundException membreNotFoundException = new MembreNotFoundException(id);
|
||||
return ResponseEntity.status(HttpStatus.NOT_FOUND).body(membreNotFoundException.getMessage());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue