From 892cff2a4a1482f3503b993cc02bb6e2a65ec5cc Mon Sep 17 00:00:00 2001 From: Andrew McDowell Date: Fri, 20 May 2022 15:50:37 +1000 Subject: [PATCH] Fix: Swap around when to add fetchOptions to `_projectBounds` --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 94f8ee5..86c51fa 100644 --- a/src/main.js +++ b/src/main.js @@ -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) }