Skip to content

Commit

Permalink
fix last problems when accessing
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek committed Dec 18, 2024
1 parent b69eb5c commit 6feb3aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mindwendel_web/live/start_live/home.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ defmodule MindwendelWeb.StartLive.Home do
valid_stored_brainstormings =
LocalStorage.brainstormings_from_local_storage_and_session(
brainstormings_stored,
Brainstormings.list_brainstormings_for(socket.assigns.current_user.id),
Brainstormings.list_brainstormings_for(
get_in(socket.assigns, [Access.key(:current_user), Access.key(:id)])
),
socket.assigns.current_user
)

Expand Down

0 comments on commit 6feb3aa

Please sign in to comment.