Skip to content

Commit e628e6c

Browse files
committed
Removed array deconstruction
1 parent 25b4ea8 commit e628e6c

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

lib/graph-js-sdk-web.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ class GraphRequest {
5151
this.urlComponents.path = rawPath.substr(0, queryStrPos);
5252
let queryParams = rawPath.substring(queryStrPos + 1, rawPath.length).split("&");
5353
for (let queryParam of queryParams) {
54-
let [key, value] = queryParam.split("=");
54+
let queryParams = queryParam.split("=");
55+
let key = queryParams[0];
56+
let value = queryParams[1];
5557
if (common_1.oDataQueryNames.indexOf(key)) {
5658
this.urlComponents.oDataQueryParams[key] = value;
5759
}
@@ -2239,7 +2241,7 @@ exports.cleanHeader = function(header, shouldStripCookie){
22392241
module.exports={
22402242
"name": "msgraph-sdk-javascript",
22412243
"version": "0.3.0",
2242-
"description": "Microsoft Graph JavaScript SDK",
2244+
"description": "Microsoft Graph Client Library",
22432245
"main": "lib/src/index.js",
22442246
"typings": "lib/src/index",
22452247
"files": [

lib/src/GraphRequest.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)