Loading go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go +9 −9 Original line number Diff line number Diff line Loading @@ -940,21 +940,21 @@ func applicationsSubscriptionsPUT(w http.ResponseWriter, r *http.Request) { if updatedSub.NotificationDestination != "" { sub.Cfg.NotifyUrl = updatedSub.NotificationDestination } if updatedSub.RequestTestNotification { sub.Cfg.RequestTestNotif = true } // if updatedSub.RequestTestNotification { // sub.Cfg.RequestTestNotif = true // } // if updatedSub.RequestWebsocketUri { // sub.Cfg.RequestWebsocketUri = true // } else { // sub.Cfg.RequestWebsocketUri = false // } // Update event filters if provided if updatedSub.EventFilters != nil { sub.Cfg.EventFilters = convertEventFiltersToStrings(updatedSub.EventFilters) } if updatedSub.Events != nil { sub.Cfg.CapifEvent = convertEventToStrings(updatedSub.Events) } // if updatedSub.EventFilters != nil { // sub.Cfg.EventFilters = convertEventFiltersToStrings(updatedSub.EventFilters) // } // if updatedSub.Events != nil { // sub.Cfg.CapifEvent = convertEventToStrings(updatedSub.Events) // } // Update the subscription in the manager err = subMgr.UpdateSubscription(sub) if err != nil { Loading Loading
go-apps/meep-app-enablement/server/capif-mgmt/service-mgmt.go +9 −9 Original line number Diff line number Diff line Loading @@ -940,21 +940,21 @@ func applicationsSubscriptionsPUT(w http.ResponseWriter, r *http.Request) { if updatedSub.NotificationDestination != "" { sub.Cfg.NotifyUrl = updatedSub.NotificationDestination } if updatedSub.RequestTestNotification { sub.Cfg.RequestTestNotif = true } // if updatedSub.RequestTestNotification { // sub.Cfg.RequestTestNotif = true // } // if updatedSub.RequestWebsocketUri { // sub.Cfg.RequestWebsocketUri = true // } else { // sub.Cfg.RequestWebsocketUri = false // } // Update event filters if provided if updatedSub.EventFilters != nil { sub.Cfg.EventFilters = convertEventFiltersToStrings(updatedSub.EventFilters) } if updatedSub.Events != nil { sub.Cfg.CapifEvent = convertEventToStrings(updatedSub.Events) } // if updatedSub.EventFilters != nil { // sub.Cfg.EventFilters = convertEventFiltersToStrings(updatedSub.EventFilters) // } // if updatedSub.Events != nil { // sub.Cfg.CapifEvent = convertEventToStrings(updatedSub.Events) // } // Update the subscription in the manager err = subMgr.UpdateSubscription(sub) if err != nil { Loading