Skip to content

Commit 9cd3bed

Browse files
Fix linting
1 parent 763c861 commit 9cd3bed

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

lib/query/woqlDoc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ function Var(name) {
7474
this.name = name;
7575
this.json = function () {
7676
return {
77-
'@type' : 'Value',
78-
variable : this.name
79-
}
80-
}
77+
'@type': 'Value',
78+
variable: this.name,
79+
};
80+
};
8181
}
8282

8383
/**

lib/woqlClient.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,8 @@ WOQLClient.prototype.getDocument = function (params, dbId, branch, lastDataVersi
12311231
* @param {boolean} [getDataVersion] If true the function will return object having result
12321232
* and dataVersion.
12331233
* @param {boolean} [compress] If true, the function will create a new document if it doesn't exist.
1234-
* @param {boolean} [create] Perform an *upsert* which inserts if the document is not present (also works on nested documents)
1234+
* @param {boolean} [create] Perform an *upsert* which inserts if the document is not present (also
1235+
* works on nested documents)
12351236
* @returns {Promise} A promise that returns the call response object or object having *result*
12361237
* and *dataVersion* object if ***getDataVersion*** parameter is true, or an Error if rejected.
12371238
* @example

0 commit comments

Comments
 (0)