Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(authentication): let the storageKey be the storageKey
Browse files Browse the repository at this point in the history
  • Loading branch information
doktordirk committed Apr 29, 2016
1 parent b0e23e4 commit a302352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Authentication {
/* getters/setters for responseObject */

get responseObject() {
return JSON.parse(this.storage.get(this.config.storageKey || {}));
return JSON.parse(this.storage.get(this.config.storageKey));
}

set responseObject(response) {
Expand Down

0 comments on commit a302352

Please sign in to comment.