feat:#50 fix assignment to nil map (static check)

This commit is contained in:
Elmar Kresse
2024-08-13 09:38:01 +02:00
parent f49a3cbbdf
commit 72fc279ead

View File

@ -34,7 +34,7 @@ var FeedDeletedError = fmt.Errorf("feed deleted")
func Feed(app model.AppType, token string) (string, error) {
var events model.Events
var modules map[string]model.FeedCollection
modules := map[string]model.FeedCollection{}
if token == "test" {
// write down list of modules