Skip to content

Commit 6b78ba7

Browse files
committed
Format API server persistence fix
1 parent ad0bcb6 commit 6b78ba7

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

background.js

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4805,16 +4805,19 @@ chrome.runtime.onMessage.addListener(async function (request, sender, sendRespon
48054805
return true; // Keep message channel open for async response
48064806
}
48074807

4808-
chrome.storage.local.set({
4809-
settings: settings
4810-
}, function () {
4811-
const storageError = chrome.runtime.lastError;
4812-
sendResponse({
4813-
state: isExtensionOn,
4814-
saved: !storageError,
4815-
error: storageError ? storageError.message : undefined
4816-
});
4817-
});
4808+
chrome.storage.local.set(
4809+
{
4810+
settings: settings
4811+
},
4812+
function () {
4813+
const storageError = chrome.runtime.lastError;
4814+
sendResponse({
4815+
state: isExtensionOn,
4816+
saved: !storageError,
4817+
error: storageError ? storageError.message : undefined
4818+
});
4819+
}
4820+
);
48184821

48194822
// If SDK setting changed, reinitialize transport if extension is ON
48204823
try {

0 commit comments

Comments
 (0)