fixing deleted channel indicator

This commit is contained in:
Roland Osborne 2022-12-17 22:31:03 -08:00
parent 29f58ebf7e
commit 7f85bfb66b

View File

@ -76,7 +76,7 @@ func GetChannels(w http.ResponseWriter, r *http.Request) {
}
for _, slot := range slots {
if !typesSet || hasChannelType(types, slot.Channel) {
if !typesSet || hasChannelType(types, slot.Channel) || slot.Channel == nil {
if channelRevisionSet {
response = append(response, getChannelRevisionModel(&slot, true))
} else if slot.Channel != nil {