From 80aa51bab75ca69e0157c9f04994b3bb0453f850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20W=C3=B6ginger?= Date: Tue, 28 Nov 2023 18:30:15 +0100 Subject: [PATCH] hostname is optional for now --- lib/radiator/podcasts/podcast.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/radiator/podcasts/podcast.ex b/lib/radiator/podcasts/podcast.ex index dd955887..93312982 100644 --- a/lib/radiator/podcasts/podcast.ex +++ b/lib/radiator/podcasts/podcast.ex @@ -14,6 +14,6 @@ defmodule Radiator.Podcasts.Podcast do def changeset(podcast, attrs) do podcast |> cast(attrs, [:title, :hostname]) - |> validate_required([:title, :hostname]) + |> validate_required([:title]) end end