We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17c0757 commit 01aa727Copy full SHA for 01aa727
glean/src/platform/browser/web/storage.ts
@@ -29,7 +29,7 @@ namespace IDBWrapper {
29
* @returns The promise generated by the callback.
30
*/
31
function withDatabase(fn: () => Promise<void>): Promise<void> {
32
- if (!db) {
+ if (db) {
33
return fn();
34
}
35
0 commit comments