sync: 0.7.0 from main (759eb02deab38d02dc6b4a0156c30eec9b440e68)
Build and Publish Docker Image / Build and Deploy (push) Failing after 1m45s

This commit is contained in:
github-actions[bot] committed 2026-04-17 18:41:28 +00:00
1 parent 89eaae337e
commit 23c46c34e1
34 files changed
+2032 -430

No files matched your search

+5 -3
View File
@@ -9,6 +9,7 @@ import (
config "github.com/EvolutionAPI/evolution-go/pkg/config"
instance_model "github.com/EvolutionAPI/evolution-go/pkg/instance/model"
instance_service "github.com/EvolutionAPI/evolution-go/pkg/instance/service"
"github.com/EvolutionAPI/evolution-go/pkg/utils"
)
type InstanceHandler interface {
@@ -449,9 +450,10 @@ func (i *instanceHandler) SetProxy(ctx *gin.Context) {
}
responseData := gin.H{
"host": data.Host,
"port": data.Port,
"hasAuth": data.Username != "" && data.Password != "",
"protocol": utils.NormalizeProxyProtocol(data.Protocol, data.Port),
"host": data.Host,
"port": data.Port,
"hasAuth": data.Username != "" && data.Password != "",
}
ctx.JSON(http.StatusOK, gin.H{"message": "success", "data": responseData})