This commit is contained in:
nquidox 2025-12-15 18:14:54 +03:00
parent 3d80aff71f
commit 9eed4c99cc

View file

@ -68,7 +68,7 @@ func (h *Handler) RegisterRoutes(r *gin.RouterGroup, authMW gin.HandlerFunc, ref
// @Success 200 // @Success 200
// @Failure 400 {object} responses.ErrorResponse400 // @Failure 400 {object} responses.ErrorResponse400
// @Failure 500 {object} responses.ErrorResponse500 // @Failure 500 {object} responses.ErrorResponse500
// @Router /merch [post] // @Router /merch/ [post]
func (co *controller) addMerch(c *gin.Context) { func (co *controller) addMerch(c *gin.Context) {
var payload MerchDTO var payload MerchDTO
if err := c.ShouldBind(&payload); err != nil { if err := c.ShouldBind(&payload); err != nil {