Add missing path method to IndexeddbStore.

This commit is contained in:
Doug
2022-07-20 13:02:23 +01:00
parent b6b1f904e0
commit 3b8a2ca2d7
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use std::{collections::BTreeSet, sync::Arc};
use std::{collections::BTreeSet, path::PathBuf, sync::Arc};
use anyhow::anyhow;
use async_trait::async_trait;
@@ -1278,6 +1278,10 @@ impl IndexeddbStore {
#[async_trait(?Send)]
impl StateStore for IndexeddbStore {
fn path(&self) -> Option<PathBuf> {
None
}
async fn save_filter(&self, filter_name: &str, filter_id: &str) -> StoreResult<()> {
self.save_filter(filter_name, filter_id).await.map_err(|e| e.into())
}