Story Maker
    Preparing search index...

    Function getTeamsOfUser

    • Retrieves all teams associated with a specific user.

      Parameters

      • supabaseUserId: string

        The Supabase ID of the user.

      Returns Promise<Team[]>

      A promise that resolves to an array of teams the user belongs to.

      If the database find operation fails.