@sanity/client 6.1.0-perspective.0 → 6.1.0-perspective.1

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.
@@ -834,7 +834,7 @@ function _requestObservable(client, httpRequest, options) {
834
834
  ...options.query
835
835
  };
836
836
  }
837
- if (config.perspective === "previewDrafts") {
837
+ if (typeof config.perspective === "string" && config.perspective !== "all") {
838
838
  options.query = {
839
839
  perspective: config.perspective,
840
840
  ...options.query