This commit is contained in:
efrilm 2025-12-05 22:00:04 +07:00
parent fb6fe077ed
commit 43f67a5381

View File

@ -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) {