Proba naprawienia

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2021-01-08 15:28:59 +01:00
parent 1682448627
commit ad0d9e40c1
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -81,6 +81,7 @@ public class UserService {
final String token = UUID.randomUUID().toString(); final String token = UUID.randomUUID().toString();
System.out.println(token); System.out.println(token);
if ((authority.getName() == null || authority.getSurname() == null) && authority.getUsosId() != null) { if ((authority.getName() == null || authority.getSurname() == null) && authority.getUsosId() != null) {
System.out.println("IF");
final UserApiResponse resp = this.service.getUserData(authority.getUsosId()); final UserApiResponse resp = this.service.getUserData(authority.getUsosId());
authority.updateWithUsosData(resp); authority.updateWithUsosData(resp);
System.out.println("PRAWIE WYCHODZE Z IFA"); System.out.println("PRAWIE WYCHODZE Z IFA");