Skip to content

Commit

Permalink
Update show.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
tonnenpinguin authored and jjcarstens committed Jun 28, 2022
1 parent a65b4c3 commit ca2a51c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ defmodule NervesHubWWWWeb.DeploymentLive.Show do

def handle_event(
"toggle_active",
%{"is_active" => value},
%{"is-active" => value},
%{assigns: %{deployment: deployment, user: user}} = socket
) do
{:ok, updated_deployment} = Deployments.update_deployment(deployment, %{is_active: value})
Expand Down

0 comments on commit ca2a51c

Please sign in to comment.