fix: fix the userid

parent 6b2a825a
...@@ -39,6 +39,7 @@ export class ConnectPageComponent implements OnInit { ...@@ -39,6 +39,7 @@ export class ConnectPageComponent implements OnInit {
.subscribe( .subscribe(
data => { data => {
this._localStorage.set('user-' + this.token, data['user']); this._localStorage.set('user-' + this.token, data['user']);
this.userid = data['user'];
this.getAuthToken(); this.getAuthToken();
} }
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment