From ecdc68eda213f63d5530c0eda914708f8804106b Mon Sep 17 00:00:00 2001 From: nquidox Date: Sun, 29 Mar 2026 13:37:21 +0300 Subject: [PATCH] logs --- internal/merch/controller.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/merch/controller.go b/internal/merch/controller.go index 2221240..d3ce21d 100644 --- a/internal/merch/controller.go +++ b/internal/merch/controller.go @@ -252,7 +252,6 @@ func (co *controller) updateExtraData(c *gin.Context) { // @Summary Delete merch // @Description Marks merch and all its extra data as deleted by uuid. // @Tags Merch -// @Accept json // @Param uuid path string true "merch uuid" // @Success 204 // @Failure 400 {object} responses.BadRequest @@ -381,6 +380,7 @@ func (co *controller) getChartsPrices(c *gin.Context) { logErr(controllerLogHeader, err) return } + log.WithField("response", response).Debugf("%v %v get chart prices success", pkgLogHeader, controllerLogHeader) c.JSON(http.StatusOK, response) } @@ -419,6 +419,7 @@ func (co *controller) getDistinctPrices(c *gin.Context) { c.Status(http.StatusNoContent) return } + log.WithField("response", response).Debugf("%v %v get distinct prices success", pkgLogHeader, controllerLogHeader) c.JSON(http.StatusOK, response) }