Skip to content

Commit

Permalink
Merge pull request #373 from chrismayer/fixup-pr-370
Browse files Browse the repository at this point in the history
Fixup for PR #370: Remove eslint errors
  • Loading branch information
chrismayer committed Apr 12, 2024
2 parents ce85d61 + cabf349 commit b2c95da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factory/Layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const LayerFactory = {
format: new this.formatMapping[lConf.format](lConf.formatConfig),
loader: (extent) => {
// assemble WFS GetFeature request
const pre = lConf.url.includes("?") ? "&" : "?"
const pre = lConf.url.includes('?') ? '&' : '?';
let wfsRequest = lConf.url + pre + 'service=WFS&' +
'version=' + lConf.version + '&request=GetFeature&' +
'typename=' + lConf.typeName + '&' +
Expand Down

0 comments on commit b2c95da

Please sign in to comment.