From a302352b0f25d88c01546bc7c8723af0e33e6b60 Mon Sep 17 00:00:00 2001 From: doktordirk Date: Fri, 29 Apr 2016 14:18:29 +0200 Subject: [PATCH] fix(authentication): let the storageKey be the storageKey --- src/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authentication.js b/src/authentication.js index b1e6036..7933ec8 100644 --- a/src/authentication.js +++ b/src/authentication.js @@ -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) {