backend for xcvr appview
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

add nil check for malformed channel model

+6 -1
+6 -1
server/internal/model/channel.go
··· 144 144 return nil 145 145 } 146 146 delete(m.uriMap, uri) 147 - cm.cancel() 147 + // this case is for if a malformed channel record is ingested which 148 + // doesn't create a channel, but it still shows up in uriMap. probs 149 + // shouldn't be in uriMap but idk 150 + if cm != nil { 151 + cm.cancel() 152 + } 148 153 return nil 149 154 } 150 155