Closed mepox closed 1 year ago
String username = principal.getName(); is unnecessary here.
String username = principal.getName();
https://github.com/trebol-ecommerce/spring-boot-backend/blob/91af6a3447d69a16cdb1c7e5dc5509fbf2110357/src/main/java/org/trebol/operation/controllers/AccountProfileController.java#L55-L56
I suggest to change the parameter passed in updateProfileForUserWithName to the username variable, instead of deleting its declaration and assignment.
updateProfileForUserWithName
username
Closed in #229
String username = principal.getName();
is unnecessary here.https://github.com/trebol-ecommerce/spring-boot-backend/blob/91af6a3447d69a16cdb1c7e5dc5509fbf2110357/src/main/java/org/trebol/operation/controllers/AccountProfileController.java#L55-L56