Skip to content

Commit

Permalink
Fixed urlParameters cloning error
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasSp committed Sep 30, 2024
1 parent 95970f9 commit 7fa7c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infowindow_exporthandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function layerSpecificExportHandler(url, requestMethod, urlParameters, ac
// the list will be separated by semicolons.
// Specifying a value as "{{no_value}}" will add a valueless parameter, e g "?Param1&Param2&etc".
let requestUrl = url;
const requestParams = urlParameters;
const requestParams = { ...urlParameters };
if (requestParams) {
Object.keys(requestParams).forEach((param) => {
if (requestParams[param] && typeof requestParams[param] === 'object' && requestParams[param].attribute) {
Expand Down

0 comments on commit 7fa7c55

Please sign in to comment.