From 60f3a3ab95b7de99808a13a75f66715ed6dc0d58 Mon Sep 17 00:00:00 2001 From: APB9785 <74077809+APB9785@users.noreply.github.com> Date: Fri, 5 Jan 2024 19:11:00 -0600 Subject: [PATCH] Remove old defaults from new path attrs --- lib/beacon/live_admin/live/live_data_editor_live/index.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/beacon/live_admin/live/live_data_editor_live/index.ex b/lib/beacon/live_admin/live/live_data_editor_live/index.ex index d17d5d25..2e4e2b15 100644 --- a/lib/beacon/live_admin/live/live_data_editor_live/index.ex +++ b/lib/beacon/live_admin/live/live_data_editor_live/index.ex @@ -45,7 +45,7 @@ defmodule Beacon.LiveAdmin.LiveDataEditorLive.Index do def handle_event("submit_path", %{"path" => path}, socket) do %{beacon_page: %{site: site}} = socket.assigns - attrs = %{path: path, assign: "foo", code: "bar", format: :text, site: site} + attrs = %{path: path, site: site} socket = case Content.create_live_data(site, attrs) do