Story Maker
    Preparing search index...

    Function getTeamById

    • Retrieves a team by its ID.

      Parameters

      • id: string

        The ID of the team to retrieve.

      Returns Promise<null | Team>

      A promise that resolves to the team object or null if not found.

      If the database get operation fails.