   end
 
   defp recent_retros_with_action_items_preloaded(current_user_id) do
-    minimal_current_user_struct = %User{id: current_user_id}
     action_items_with_assignee =
       from(
         ai in Idea.action_items(),

        order_by: [asc: ai.inserted_at]
      )

    query =
      from(
        r in assoc(minimal_current_user_struct, :retros),
        limit: 10,
        preload: [ideas: ^action_items_with_assignee],
        order_by: [desc: r.inserted_at]
      )

    Repo.all(query)

defmodule RemoteRetroWeb.RetroController do
  use RemoteRetroWeb, :controller
  alias RemoteRetro.{Retro, Participation, Idea}
  alias RemoteRetroWeb.ErrorView
  alias Phoenix.Token

