From 91e41157854d7da1eccea6bd3f4341ad9673a848 Mon Sep 17 00:00:00 2001 From: Matthew Shanley Date: Wed, 13 Mar 2024 16:57:41 -0400 Subject: [PATCH] fix: Fix a typo in the alert severity field description (#774) --- apps/api_web/lib/api_web/controllers/alert_controller.ex | 2 +- apps/model/lib/model/alert.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api_web/lib/api_web/controllers/alert_controller.ex b/apps/api_web/lib/api_web/controllers/alert_controller.ex index c7322efb..84c33b9b 100644 --- a/apps/api_web/lib/api_web/controllers/alert_controller.ex +++ b/apps/api_web/lib/api_web/controllers/alert_controller.ex @@ -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 diff --git a/apps/model/lib/model/alert.ex b/apps/model/lib/model/alert.ex index fc42b14e..a971b50f 100644 --- a/apps/model/lib/model/alert.ex +++ b/apps/model/lib/model/alert.ex @@ -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