Skip to content

Commit

Permalink
fixbug save episode
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicbites committed Sep 10, 2024
1 parent 4b3f127 commit 646fbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/radiator_web/live/episode_live/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ defmodule RadiatorWeb.EpisodeLive.Index do
def handle_event("save", %{"episode" => params}, socket) do
params = Map.put(params, "show_id", socket.assigns.show.id)

save_episode(socket, socket.assigns.action, params)
save_episode(socket, socket.assigns.live_action, params)
end

@impl true
Expand Down

0 comments on commit 646fbe9

Please sign in to comment.