diff --git a/pkg/notify/models/config.go b/pkg/notify/models/config.go index b30273528c..d7e39914bc 100644 --- a/pkg/notify/models/config.go +++ b/pkg/notify/models/config.go @@ -181,7 +181,7 @@ func sortContactType(ctypes []string) []string { ret = append(ret, ct) } } - return nil + return ret } func (cm *SConfigManager) allContactType() ([]string, error) {