Align GoChat with Chatwoot frontend contracts
This commit is contained in:
@@ -371,7 +371,9 @@ func (h *AgentCapacityHandler) DeleteUser(c *gin.Context) {
|
||||
func RegisterAgentCapacityRoutes(rg *gin.RouterGroup, h *AgentCapacityHandler) {
|
||||
policies := rg.Group("/agent_capacity_policies")
|
||||
{
|
||||
policies.GET("", h.List)
|
||||
policies.GET("/", h.List)
|
||||
policies.POST("", h.Create)
|
||||
policies.POST("/", h.Create)
|
||||
policies.GET("/:id", h.Get)
|
||||
policies.PUT("/:id", h.Update)
|
||||
|
||||
Reference in New Issue
Block a user