Skip to content

Commit

Permalink
Merge pull request #5 from madole/adding-fetch-options
Browse files Browse the repository at this point in the history
Fix: Swap around when to add fetchOptions to `_projectBounds`
  • Loading branch information
rowanwins authored May 21, 2022
2 parents 9d552ba + 892cff2 commit 1a544ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ export default class FeatureService {
outSR: 4326,
f: 'json'
})
let fetchOptions = this._esriServiceOptions.fetchOptions
let fetchOptions = {}
if (!this._projectionEndpointIsFallback()) {
fetchOptions = {}
fetchOptions = this._esriServiceOptions.fetchOptions
this._appendTokenIfExists(params)
}

Expand Down

0 comments on commit 1a544ae

Please sign in to comment.