Skip to content

Commit 91cc610

Browse files
damccormstephenmichaelf
authored andcommitted
Fixed issue with serialization (#216)
* Fixed issue with serialization * Bump patch version
1 parent 6440066 commit 91cc610

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

api/VsoClient.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,18 +192,17 @@ export class VsoClient {
192192
let prop = object[property];
193193
let valueString = this.getValueString(property, prop);
194194
if (first && prop !== undefined) {
195-
value += property + "=" + valueString;
195+
value += valueString;
196196
first = false;
197197
} else if (prop !== undefined) {
198-
value += "&" + property +"=" + valueString;
198+
value += "&" + valueString;
199199
}
200200
}
201201
}
202202

203203
if (value == ""){
204204
value += queryValue + "=" + object.toString();
205205
}
206-
207206
return value;
208207
}
209208

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "azure-devops-node-api",
33
"description": "Node client for Azure DevOps and TFS REST APIs",
4-
"version": "6.6.0",
4+
"version": "6.6.1",
55
"main": "./WebApi.js",
66
"types": "./WebApi.d.ts",
77
"scripts": {

0 commit comments

Comments
 (0)