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.
1 parent 5bbb463 commit d7253e0Copy full SHA for d7253e0
api/router/NotificationRouter.go
@@ -32,6 +32,10 @@ func NewNotificationRouterImpl(notificationRestHandler restHandler.NotificationR
32
return &NotificationRouterImpl{notificationRestHandler: notificationRestHandler}
33
}
34
func (impl NotificationRouterImpl) InitNotificationRegRouter(configRouter *mux.Router) {
35
+ // do not remove it, this path is used in devtcl cli
36
+ configRouter.Path("").
37
+ HandlerFunc(impl.notificationRestHandler.SaveNotificationSettingsV2).
38
+ Methods("POST")
39
// new router to save notification settings
40
configRouter.Path("/v2").
41
HandlerFunc(impl.notificationRestHandler.SaveNotificationSettingsV2).
0 commit comments