FIX
This commit is contained in:
@@ -67,7 +67,7 @@ public class ClientController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Modifier l'address d'un client
|
// Modifier l'address d'un client
|
||||||
@PutMapping("/{id}")
|
@PutMapping("/address/{id}")
|
||||||
public ResponseEntity<Map<String, Object>> updateAddress(@PathVariable Long id, @RequestBody Adresse adresse) {
|
public ResponseEntity<Map<String, Object>> updateAddress(@PathVariable Long id, @RequestBody Adresse adresse) {
|
||||||
clientService.updateLocation(id, adresse);
|
clientService.updateLocation(id, adresse);
|
||||||
Map<String, Object> response = new HashMap<>();
|
Map<String, Object> response = new HashMap<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user