update
This commit is contained in:
parent
fb6fe077ed
commit
43f67a5381
@ -383,7 +383,7 @@ func (h *LetterOutgoingHandler) AddAttachments(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, &contract.SuccessResponse{Message: "attachments added"})
|
||||
c.JSON(http.StatusOK, contract.BuildSuccessResponse(&contract.SuccessResponse{Message: "attachment added"}))
|
||||
}
|
||||
|
||||
func (h *LetterOutgoingHandler) RemoveAttachment(c *gin.Context) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user