Fix typos in docs, comments, code (#1483)

This commit is contained in:
Greg Myers 2022-04-27 03:04:12 -06:00 committed by GitHub
parent 44b11c2e5b
commit 0f4ab71f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 39 additions and 39 deletions

View file

@ -213,7 +213,7 @@ func (c *Controller) FindAlerts(gctx *gin.Context) {
gctx.JSON(http.StatusOK, data)
}
// FindAlertByID return the alert assiocated to the ID
// FindAlertByID return the alert associated to the ID
func (c *Controller) FindAlertByID(gctx *gin.Context) {
alertIDStr := gctx.Param("alert_id")
alertID, err := strconv.Atoi(alertIDStr)