Skip to content

Commit b29c916

Browse files
committed
fix
1 parent bececd4 commit b29c916

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extension/js/common/settings.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ export class Settings {
9494
if (!filter) {
9595
throw new Error('Filter is empty for account_email"' + acctEmail + '"');
9696
}
97+
9798
await new Promise<void>((resolve, reject) => {
98-
chrome.storage.local.get([], async storage => {
99+
// eslint-disable-next-line no-null/no-null
100+
chrome.storage.local.get(null, async storage => {
99101
try {
100102
for (const storageIndex of Object.keys(storage)) {
101103
if (storageIndex.startsWith(filter)) {

0 commit comments

Comments
 (0)