feat(captain): align preferences payloads
This commit is contained in:
@@ -1265,10 +1265,10 @@ func registerV1Routes(g *gin.RouterGroup, h *Handlers) {
|
||||
// Reference: Chatwoot Captain::PreferencesController
|
||||
preferences := captain.Group("/preferences")
|
||||
{
|
||||
preferences.POST("/", h.CaptainPreference.Create)
|
||||
preferences.GET("", h.CaptainPreference.Get)
|
||||
preferences.GET("/", h.CaptainPreference.Get)
|
||||
preferences.PUT("", h.CaptainPreference.Update)
|
||||
preferences.PUT("/", h.CaptainPreference.Update)
|
||||
preferences.DELETE("/", h.CaptainPreference.Delete)
|
||||
}
|
||||
|
||||
// M12: Label Suggestion + Follow Up (GET endpoints)
|
||||
|
||||
Reference in New Issue
Block a user