mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge pull request #524 from joelbraga/fix-storage
<fix>(storage): fix query function arguments
This commit is contained in:
@@ -28,8 +28,8 @@ export class Storage {
|
||||
remove(key) {
|
||||
return this._strategy.remove(key);
|
||||
}
|
||||
query(query) {
|
||||
return this._strategy.query(key);
|
||||
query(query, params) {
|
||||
return this._strategy.query(query, params);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ export class StorageEngine {
|
||||
remove(key) {
|
||||
throw Error("remove() not implemented for this storage engine");
|
||||
}
|
||||
query(query) {
|
||||
query(query, params) {
|
||||
throw Error("query() not implemented for this storage engine");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user