diff --git a/ionic/platform/storage/sql.ts b/ionic/platform/storage/sql.ts index d8ef3577ee..8cb8669fb0 100644 --- a/ionic/platform/storage/sql.ts +++ b/ionic/platform/storage/sql.ts @@ -120,7 +120,7 @@ export class SqlStorage extends StorageEngine { get(key: string): Promise { return this.query('select key, value from kv where key = ? limit 1', [key]).then(data => { if (data.res.rows.length > 0) { - return data.res.rows.item(0); + return data.res.rows.item(0).value; } }); }