Skip to content

Commit

Permalink
chore: fix typos across files (#121)
Browse files Browse the repository at this point in the history
* Update handleImageResize.go

* fix: successfully typo
  • Loading branch information
kevinanielsen committed Jan 28, 2024
1 parent 86d8ea0 commit a661fa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/handlers/docs/handleDocDelete.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func HandleDocDelete(c *gin.Context) {
}

c.JSON(http.StatusOK, gin.H{
"message": "Document deleted successfuly",
"message": "Document deleted successfully",
"fileName": deletedFileName,
})
}
2 changes: 1 addition & 1 deletion src/handlers/image/handleImageResize.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func HandleImageResize(c *gin.Context) {
Height int `json:"height" binding:"required"`
}{}
if e := c.BindJSON(&body); e != nil {
// TODO: add shared error handling accross handler package
// TODO: add shared error handling across handler package
c.AbortWithStatusJSON(http.StatusBadRequest, gin.H{
"error": e.Error(),
})
Expand Down

0 comments on commit a661fa2

Please sign in to comment.