fix: correct enclosure type on custom format

This commit is contained in:
Dawid H
2022-11-03 08:51:24 +01:00
parent 5f0123ddbc
commit 3a42d8249e
+1 -1
View File
@@ -178,7 +178,7 @@ func EpisodeName(feedConfig *Config, episode *model.Episode) string {
func EnclosureFromExtension(feedConfig *Config) itunes.EnclosureType {
ext := feedConfig.CustomFormat.Extension
// Use switch on the day variable.
switch {
case ext == "m4a":
return itunes.M4A