Sanity Library Reference Docs
    Preparing search index...

    Function observeOrganizationVerificationState

    • Creates an observable that emits the organization verification state for a given instance. It combines the app's own organization ID with each project's actual organization ID (fetched via the project fetcher) and compares them.

      The app's organization is the Dashboard's when there is one (from the message bus or _context), and organizationId on the SanityConfig otherwise, so a standalone app that names its organization gets the same check a Dashboard app does.

      Parameters

      Returns Observable<OrgVerificationResult>