modifying message
This commit is contained in:
@@ -178,8 +178,8 @@ func (h *Handlers) UploadFiles(c *gin.Context) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
c.JSON(http.StatusBadRequest, gin.H{
|
c.JSON(http.StatusBadRequest, gin.H{
|
||||||
"error": gin.H{
|
"error": gin.H{
|
||||||
"code": "NOT_FOUND",
|
"code": "ERROR_PARSING",
|
||||||
"message": "form file with file name missing",
|
"message": "Error while parsing multipart form",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user