@optionfactory/ful 4.0.8 → 4.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ful.mjs CHANGED
@@ -420,11 +420,12 @@ class HttpRequestBuilder {
420
420
  * @returns {HttpRequestBuilder} the builder
421
421
  */
422
422
  static create(client, method, uri) {
423
+ const [baseUri, queryString = ''] = uri.split('?');
423
424
  return new HttpRequestBuilder(
424
425
  client,
425
426
  method,
426
- uri,
427
- new URLSearchParams(),
427
+ baseUri,
428
+ new URLSearchParams(queryString),
428
429
  new Headers(),
429
430
  undefined,
430
431
  {},