mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 12:39:17 +00:00
Merge branch 'main' into refactor
This commit is contained in:
commit
51a6988c9f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user