refactor: Improve Elasticsearch query construction and error handling
This commit is contained in:
@@ -48,7 +48,6 @@ func (h *MCPServiceHandler) CreateMCPService(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
logger.Infof(ctx, "MCP service created successfully: %s", service.Name)
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"success": true,
|
||||
"data": service,
|
||||
|
||||
Reference in New Issue
Block a user