Merge pull request 'Identifier formats json
et csv
permis lors d'insertion' (#44) from fix/identifier-support-formats-insertion into main
Reviewed-on: #44
This commit is contained in:
commit
f448d409ee
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