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