From 66371c23402b5ba2f1d51f5f6889a69b0075a7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20Barr=C3=A8re?= Date: Wed, 27 Nov 2024 07:33:00 +0100 Subject: [PATCH] Fix warnings (parenthesis must be removed here) --- .../lib/transport_web/live/on_demand_validation_select_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/transport/lib/transport_web/live/on_demand_validation_select_live.ex b/apps/transport/lib/transport_web/live/on_demand_validation_select_live.ex index e594e46bc4..2caf3e8c70 100644 --- a/apps/transport/lib/transport_web/live/on_demand_validation_select_live.ex +++ b/apps/transport/lib/transport_web/live/on_demand_validation_select_live.ex @@ -66,7 +66,7 @@ defmodule TransportWeb.Live.OnDemandValidationSelectLive do defp form_fields(socket) do changeset = socket_value(socket, :changeset) - Map.merge(changeset.data(), changeset.changes()) + Map.merge(changeset.data, changeset.changes) end defp socket_value(%Phoenix.LiveView.Socket{assigns: assigns}, key), do: Map.get(assigns, key)