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 f2f756e commit 959a1ceCopy full SHA for 959a1ce
lib/woqlClient.js
@@ -1592,7 +1592,7 @@ WOQLClient.prototype.userOrganizations = function (orgList) {
1592
* //{ "@id" : "Person/Jane", "@type" : "Person", "name" : "Jannet"}
1593
*/
1594
WOQLClient.prototype.patch = function (before, patch) {
1595
- if (typeof before !== 'object' || typeof after !== 'object') {
+ if (typeof before !== 'object' || typeof patch !== 'object') {
1596
const errmsg = '"before" or "after" parameter error - you must specify a valid before and after json document';
1597
1598
return Promise.reject(
0 commit comments