fix: await IndexedDB cache clear on inbox deletion

This commit is contained in:
Shivam Mishra
2026-02-17 13:37:30 +05:30
parent ff5440173c
commit 316d116cec
2 changed files with 2 additions and 2 deletions
@@ -87,7 +87,7 @@ class CacheEnabledApiClient extends ApiClient {
async clearDataInCache() {
try {
await this.dataManager.initDb();
this.dataManager.db.clear(this.cacheModelName);
await this.dataManager.db.clear(this.cacheModelName);
} catch {
// Ignore error
}