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

    Function fetchTwitchCampaign

    • Fetch a single Twitch charity campaign by ID. Thin positional wrapper around import("@playlive/twitch-charity").fetchTwitchCampaign that supplies baseUrl from getConfig().twitchServiceUrl.

      Parameters

      • campaignId: string

        Twitch charity campaign UUID.

      • Optionalsignal: AbortSignal

        Optional AbortSignal for cancellation (e.g. React unmount).

      Returns Promise<TwitchCampaign>

      TwitchCharityApiError on non-2xx responses.

      Error when no twitchServiceUrl is configured.