@lenne.tech/ng-base 13.26.1 → 13.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -365,6 +365,7 @@ class BasicUser extends Standard {
365
365
  super(...arguments);
366
366
  this.id = undefined;
367
367
  this.email = undefined;
368
+ this.avatar = undefined;
368
369
  this.firstName = undefined;
369
370
  this.lastName = undefined;
370
371
  this.roles = [];
@@ -1781,7 +1782,7 @@ class UserService extends GraphQLPlusService {
1781
1782
  loading: true,
1782
1783
  }).pipe(map$1((response) => {
1783
1784
  this.authService.token = response.token;
1784
- this.authService.currentUser = BasicUser.map(response.user);
1785
+ this.authService.currentUser = response.user;
1785
1786
  return Auth.map({
1786
1787
  token: response.token,
1787
1788
  user: BasicUser.map(response.user),
@@ -1801,7 +1802,7 @@ class UserService extends GraphQLPlusService {
1801
1802
  loading: true,
1802
1803
  }).pipe(map$1((response) => {
1803
1804
  this.authService.token = response.token;
1804
- this.authService.currentUser = BasicUser.map(response.user);
1805
+ this.authService.currentUser = response.user;
1805
1806
  return Auth.map({
1806
1807
  token: response.token,
1807
1808
  user: BasicUser.map(response.user),