@playlive/fundraiser-data
    Preparing search index...

    Function fetchTiltifyUserCampaigns

    • Fetch every personal campaign owned by a Tiltify user (by user ID).

      Thin wrapper around import("@playlive/tiltify-core").Tiltify.GetUserCampaigns that short-circuits to [] for a nullish / "null" user ID (defensive against localStorage-backed configs) and swallows network errors so the caller doesn't have to try/catch.

      Parameters

      • params: { userId: string | null | undefined }

        { userId } — the user's Tiltify UUID (not the slug).

      Returns Promise<TiltifyPersonalCampaign[]>

      Every personal campaign owned by the user; [] on missing input or on network failure.

      const campaigns = await fetchTiltifyUserCampaigns({ userId: "abc-123" });