From cef9ea72c6278c589e71d3cd68d30801237ad977 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 21 Nov 2020 18:18:07 -0700 Subject: [PATCH] typo in pattern match (#57) --- lib/planner_web/live/tasks_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/planner_web/live/tasks_live.ex b/lib/planner_web/live/tasks_live.ex index f2cda1c..6d583d7 100644 --- a/lib/planner_web/live/tasks_live.ex +++ b/lib/planner_web/live/tasks_live.ex @@ -179,7 +179,7 @@ defmodule PlannerWeb.TasksLive do {:noreply, push_patch(socket, to: route)} - {:error, changeset} -> + {:error, _, changeset, _} -> send_update(TaskEditComponent, id: "task_edit:#{task.id}", changeset: changeset) {:noreply, socket} end