mirror of
https://github.com/zotero/zotero.git
synced 2026-10-17 04:33:42 +00:00
Fix missing-value check in SyncedSettings.set()
Some checks failed
CI / Build, Upload (push) Has been cancelled
CI / Detect changes (push) Has been cancelled
CI / Utilities Tests (push) Has been cancelled
CI / Test (Windows x64) (push) Has been cancelled
CI / Test () (push) Has been cancelled
CI / Test (macOS NFS) (push) Has been cancelled
CI / Test (Windows arm64) (push) Has been cancelled
Some checks failed
CI / Build, Upload (push) Has been cancelled
CI / Detect changes (push) Has been cancelled
CI / Utilities Tests (push) Has been cancelled
CI / Test (Windows x64) (push) Has been cancelled
CI / Test () (push) Has been cancelled
CI / Test (macOS NFS) (push) Has been cancelled
CI / Test (Windows arm64) (push) Has been cancelled
This commit is contained in:
parent
efb40e307c
commit
db41b99fdd
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ Zotero.SyncedSettings = (function () {
|
|||
},
|
||||
|
||||
set: async function (libraryID, setting, value, version = 0, synced) {
|
||||
if (typeof value == undefined) {
|
||||
if (typeof value == 'undefined') {
|
||||
throw new Error("Value not provided");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue