@sanity/client 6.0.0 → 6.1.0-scope.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -836,6 +836,12 @@ function _requestObservable(client, httpRequest, options) {
836
836
  ...options.query
837
837
  };
838
838
  }
839
+ if (config.scope) {
840
+ options.query = {
841
+ scope: config.scope,
842
+ ...options.query
843
+ };
844
+ }
839
845
  const reqOptions = requestOptions(config, Object.assign({}, options, {
840
846
  url: _getUrl(client, uri, useCdn)
841
847
  }));