From c97310505526495f3330f6afa60d6345ab808ffb Mon Sep 17 00:00:00 2001 From: cavis Date: Mon, 31 Jul 2023 09:24:01 -0600 Subject: [PATCH] Nil check for default feed --- app/models/podcast.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/podcast.rb b/app/models/podcast.rb index fdb06955e..672b5f118 100644 --- a/app/models/podcast.rb +++ b/app/models/podcast.rb @@ -197,11 +197,11 @@ def base_private_url end def published_url(include_token = nil) - default_feed.published_url(include_token) + default_feed&.published_url(include_token) end def public_url(include_token = nil) - default_feed.public_url(include_token) + default_feed&.public_url(include_token) end def itunes_type