We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80258be + 7c859d8 commit 55faa76Copy full SHA for 55faa76
src/angular2-token.service.ts
@@ -164,7 +164,7 @@ export class Angular2TokenService implements CanActivate {
164
165
let observ = this.post(this._constructUserPath() + this._options.signInPath, body);
166
167
- observ.subscribe(res => this._currentUserData = res.json().data, error => null);
+ observ.subscribe(res => this._currentUserData = res.json().data, _error => null);
168
169
return observ;
170
}
0 commit comments