Update assignProps call in createUnsavedDataObject()

This commit is contained in:
Dan Stillman 2022-02-21 19:29:32 -05:00
parent f333585d98
commit 0e0bd0586b

View file

@ -475,7 +475,7 @@ function createUnsavedDataObject(objectType, params = {}) {
obj.addCondition('title', 'isNot', Zotero.Utilities.randomString());
}
Zotero.Utilities.assignProps(obj, params, allowedParams);
Zotero.Utilities.Internal.assignProps(obj, params, allowedParams);
return obj;
}