This commit is contained in:
tiago.kayaya
2020-12-16 16:17:22 +01:00
parent 93561b5909
commit bc7f256ce6
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import { Storage } from '@ionic/storage';
}
// Get the value
async get(user: any) {
async get() {
const ret = await this.storage.get('user').then(res=>{
return JSON.parse(unescape(atob(ret.value)));
});