Skip to content

Commit

Permalink
hostname is optional for now
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicbites committed Nov 28, 2023
1 parent df733ef commit 272fd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/radiator/podcasts/podcast.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 272fd5f

Please sign in to comment.