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.
2 parents 3233120 + ad7aa81 commit 8c2f2d9Copy full SHA for 8c2f2d9
src/Documents/Operations/CompareExchange/PutCompareExchangeValueOperation.ts
@@ -72,7 +72,7 @@ export class PutCompareExchangeValueCommand<T> extends RavenCommand<CompareExcha
72
}
73
74
public createRequest(node: ServerNode): HttpRequestParameters {
75
- const uri = node.url + "/databases/" + node.database + "/cmpxchg?key=" + this._key + "&index=" + this._index;
+ const uri = node.url + "/databases/" + node.database + "/cmpxchg?key=" + encodeURIComponent(this._key) + "&index=" + this._index;
76
77
const tuple = {};
78
tuple["Object"] = TypeUtil.isPrimitive(this._value)
0 commit comments