We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9042676 + 9109fb5 commit fc6738cCopy full SHA for fc6738c
webapp/backend/pkg/notify/notify.go
@@ -234,6 +234,13 @@ func (n *Notify) Send() error {
234
235
//retrieve list of notification endpoints from config file
236
configUrls := n.Config.GetStringSlice("notify.urls")
237
+ configString := n.Config.GetString("notify.urls")
238
+ var jsonConfig []string
239
+ err := json.Unmarshal([]byte(configString), &jsonConfig)
240
+ if err == nil {
241
+ configUrls = jsonConfig
242
+ }
243
+
244
n.Logger.Debugf("Configured notification services: %v", configUrls)
245
246
if len(configUrls) == 0 {
0 commit comments