videosphere
    Preparing search index...
    • Fetch a single connected account by its row ID, returning it only when it belongs to the given user. Constant-time (primary-key lookup) and IDOR-safe: returns null if the row doesn't exist or belongs to another user.

      Parameters

      • id: string
      • userId: string

      Returns Promise<ConnectedAccountPublic>