path fix
This commit is contained in:
parent
3d80aff71f
commit
9eed4c99cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue