Identifier formats json
et csv
permis lors d'insertion #44
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ func (h *Handler) PostMembres(c echo.Context) error {
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
response.StatusCode = http.StatusBadRequest
|
response.StatusCode = http.StatusBadRequest
|
||||||
response.Message = "Invalid Content-Type"
|
response.Message = "Invalid Content-Type: Please use application/json or text/csv"
|
||||||
return c.JSON(response.StatusCode, response)
|
return c.JSON(response.StatusCode, response)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue