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.
collection.update(documentHandle, newValue, opts)
1 parent 5e9ba20 commit 91ec3f5Copy full SHA for 91ec3f5
CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
8
## [Unreleased]
9
10
+### Fixed
11
+
12
+* Fixed `collection.update(documentHandle, newValue, opts)` missing return value
13
14
## [6.2.2] - 2018-03-21
15
16
### Fixed
src/collection.ts
@@ -222,7 +222,7 @@ export abstract class BaseCollection implements ArangoCollection {
222
({ rev, ...opts } = opts);
223
headers["if-match"] = rev;
224
}
225
- this._connection.request(
+ return this._connection.request(
226
{
227
method: "PATCH",
228
path: `/_api/${this._documentPath(documentHandle)}`,
0 commit comments