Skip to content

Commit

Permalink
fix: Fix a typo in the alert severity field description (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadyan authored Mar 13, 2024
1 parent ebaf4dd commit 91e4115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api_web/lib/api_web/controllers/alert_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ defmodule ApiWeb.AlertController do

severity(
:integer,
"How severe the alert it from least (`0`) to most (`10`) severe.",
"How severe the alert is from least (`0`) to most (`10`) severe.",
example: 10,
maximum: 10,
minimum: 0
Expand Down
2 changes: 1 addition & 1 deletion apps/model/lib/model/alert.ex
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ defmodule Model.Alert do
@type lifecycle :: String.t()

@typedoc """
How severe the alert it from least (`0`) to most (`10`) severe.
How severe the alert is from least (`0`) to most (`10`) severe.
"""
@type severity :: 0..10

Expand Down

0 comments on commit 91e4115

Please sign in to comment.