feat(notification-settings): align chatwoot payloads
This commit is contained in:
@@ -1515,8 +1515,11 @@ func registerV1Routes(g *gin.RouterGroup, h *Handlers) {
|
||||
// Reference: Chatwoot resource :notification_settings, only: [:show, :update]
|
||||
notifSettings := accountScoped.Group("/notification_settings")
|
||||
{
|
||||
notifSettings.GET("", h.NotificationSetting.Show)
|
||||
notifSettings.GET("/", h.NotificationSetting.Show)
|
||||
notifSettings.PATCH("", h.NotificationSetting.Update)
|
||||
notifSettings.PATCH("/", h.NotificationSetting.Update)
|
||||
notifSettings.PUT("", h.NotificationSetting.Update)
|
||||
notifSettings.PUT("/", h.NotificationSetting.Update)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user