parent
064ae1aeff
commit
ecdc68eda2
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue