Merge branch 'main' into refactor

This commit is contained in:
Roland Osborne 2023-01-19 10:02:38 -08:00
commit 51a6988c9f

View File

@ -122,7 +122,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 {
shared := isChannelShared(card.GUID, slot.Channel)
if channelRevisionSet {
response = append(response, getChannelRevisionModel(&slot, shared))