test
This commit is contained in:
@@ -76,7 +76,7 @@ public class ArticleController {
|
|||||||
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
|
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
|
||||||
String username = authentication.getName();
|
String username = authentication.getName();
|
||||||
UserProfil userProfile = userService.utilisateurByName(username);
|
UserProfil userProfile = userService.utilisateurByName(username);
|
||||||
article.setUtilisateur(userProfile.getId());
|
article.setNoUtilisateur(userProfile.getId());
|
||||||
//Récupérer le lieu de retrait
|
//Récupérer le lieu de retrait
|
||||||
Retrait retrait = new Retrait();
|
Retrait retrait = new Retrait();
|
||||||
retrait.setRue(rue);
|
retrait.setRue(rue);
|
||||||
|
|||||||
Reference in New Issue
Block a user