Skip to content

Commit

Permalink
Fix: Swap around when to add fetchOptions to _projectBounds
Browse files Browse the repository at this point in the history
  • Loading branch information
madole committed May 20, 2022
1 parent 2082b46 commit 892cff2
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 @@ -388,9 +388,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 892cff2

Please sign in to comment.