Merge pull request #61 from HediMjid/sana

coms
This commit is contained in:
Blandine Bajard 2022-03-14 09:51:53 +01:00 committed by GitHub
commit 445d318559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class MembreController {
}
/**************************** Crud Membre ****************************/
/**
* Rechercher tous les membres
*
@ -214,7 +214,7 @@ public class MembreController {
}
}
/********************* Gestion Mot de Passe ************************************/
/********************* Gestion des mots de passe ************************************/
@PostMapping("/forgot-password")
public ResponseEntity<?> findUserByEmail(@RequestBody Membre membre) {
Membre resultMembre = null;
@ -245,6 +245,7 @@ public class MembreController {
return ResponseEntity.status(HttpStatus.OK).body(resultMembre);
}
/**************************** Update Smiley ****************************/
@PutMapping("/update/smiley/{idUser}")
public ResponseEntity<?> updateSmiley(@RequestBody String numero, @PathVariable int idUser) throws Exception {
Optional<Membre> resultMembre;