Programming Phoenix LiveView B10.0: Missing alias for Pento.Catalog (page 222)

The book provides this survey_live.ex code, which calls Catalog.list_products_with_user_rating:

  defp list_products(user) do
    Catalog.list_products_with_user_rating(user)
  end

The compiler warns:

warning: Catalog.list_products_with_user_rating/1 is undefined (module Catalog is not available or is yet to be defined)
  lib/pento_web/live/survey_live.ex:27: PentoWeb.SurveyLive.list_products/1

The problem can be fixed by adding an alias:

  alias Pento.Catalog