Skip to content

Commit 959a1ce

Browse files
committed
fix diff typescript
1 parent f2f756e commit 959a1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/woqlClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ WOQLClient.prototype.userOrganizations = function (orgList) {
15921592
* //{ "@id" : "Person/Jane", "@type" : "Person", "name" : "Jannet"}
15931593
*/
15941594
WOQLClient.prototype.patch = function (before, patch) {
1595-
if (typeof before !== 'object' || typeof after !== 'object') {
1595+
if (typeof before !== 'object' || typeof patch !== 'object') {
15961596
const errmsg = '"before" or "after" parameter error - you must specify a valid before and after json document';
15971597

15981598
return Promise.reject(

0 commit comments

Comments
 (0)