Use URLSearchParams.toString instead of Query.buildString.

This commit is contained in:
David Fifield 2019-07-18 17:50:56 -06:00
parent fdc5563f87
commit e87ec65858
2 changed files with 2 additions and 20 deletions

View file

@ -1,5 +1,3 @@
/* global Query */
/*
Only websocket-specific stuff.
*/
@ -36,7 +34,7 @@ class WS {
}
if (void 0 !== params) {
parts.push('?');
parts.push(Query.buildString(params));
parts.push(new URLSearchParams(params).toString());
}
return parts.join('');
}