Skip to content

Commit 0f7c586

Browse files
Get version diff docfix (#179)
* Fix documentation * Apply docs changes Co-authored-by: GavinMendelGleason <[email protected]>
1 parent 95c68f4 commit 0f7c586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/woqlclient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ Get the patch of difference between two documents.
11681168
| --- | --- | --- |
11691169
| id | <code>string</code> | The object id to be diffed |
11701170
| beforeVersion | <code>string</code> | The version from which to compare the object |
1171-
| afterVersion | <code>object</code> | The version to which to compare the object |
1171+
| afterVersion | <code>string</code> | The version to which to compare the object |
11721172
11731173
**Example**
11741174
```javascript

lib/woqlClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ WOQLClient.prototype.getVersionObjectDiff = function (id, beforeVersion, after)
15091509
* Get the patch of difference between two documents.
15101510
* @param {string} id - The object id to be diffed
15111511
* @param {string} beforeVersion - The version from which to compare the object
1512-
* @param {object} afterVersion - The version to which to compare the object
1512+
* @param {string} afterVersion - The version to which to compare the object
15131513
* @returns {Promise} A promise that returns the call response object, or an Error if rejected.
15141514
* @example
15151515
* const diff = await client.getVersionDiff(

0 commit comments

Comments
 (0)