sync: 0.7.1 from main (7520d2e552ed19b2f24e861e910e197310bf55f5)

This commit is contained in:
github-actions[bot] committed 2026-04-24 23:29:11 +00:00
1 parent fdf612350a
commit 46d787faff
16 files changed
+28082 -1658

No files matched your search

+6 -1
View File
@@ -5,10 +5,15 @@ import (
"net/http"
logger_wrapper "github.com/EvolutionAPI/evolution-go/pkg/logger"
poll_model "github.com/EvolutionAPI/evolution-go/pkg/poll/model"
poll_service "github.com/EvolutionAPI/evolution-go/pkg/poll/service"
"github.com/gin-gonic/gin"
)
// Keep poll_model referenced so the package import is not dropped
// (swag reads Go source, not pre-processed, and needs the alias to be in scope).
var _ = poll_model.PollResults{}
type PollHandler struct {
pollService poll_service.PollService
loggerWrapper *logger_wrapper.LoggerManager
@@ -29,7 +34,7 @@ func NewPollHandler(pollService poll_service.PollService, loggerWrapper *logger_
// @Accept json
// @Produce json
// @Param pollMessageId path string true "ID da mensagem da enquete"
// @Success 200 {object} model.PollResults
// @Success 200 {object} poll_model.PollResults
// @Failure 400 {object} gin.H
// @Failure 404 {object} gin.H
// @Failure 500 {object} gin.H