Story Maker
    Preparing search index...
    • Retrieves all teams associated with a specific user.

      Parameters

      • user: User

        The user object.

      Returns Promise<Team[]>

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

      If the database find operation fails.