From 4540a177c971523552515c4ba60e578e2e4b1b90 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Tue, 27 Aug 2024 08:53:55 -0400 Subject: [PATCH] Fix a couple misspelled words --- lib/nerves_hub/accounts.ex | 2 +- lib/nerves_hub/devices.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nerves_hub/accounts.ex b/lib/nerves_hub/accounts.ex index d44b49253..873d40fc7 100644 --- a/lib/nerves_hub/accounts.ex +++ b/lib/nerves_hub/accounts.ex @@ -274,7 +274,7 @@ defmodule NervesHub.Accounts do @doc """ Gets a user via a password reset token string. - Checks validity and equivelence, returning `{:ok, %User{}}` or `{:error, :not_found}` + Checks validity and equivalence, returning `{:ok, %User{}}` or `{:error, :not_found}` """ @spec get_user_with_password_reset_token(String.t()) :: {:ok, User.t()} diff --git a/lib/nerves_hub/devices.ex b/lib/nerves_hub/devices.ex index fa2f071a7..e1772697a 100644 --- a/lib/nerves_hub/devices.ex +++ b/lib/nerves_hub/devices.ex @@ -829,7 +829,7 @@ defmodule NervesHub.Devices do description = """ Device #{device.identifier} automatically blocked firmware upgrades for #{deployment.penalty_timeout_minutes} minutes. - Device failure thredhold met for firmware #{deployment.firmware.uuid} in deployment #{deployment.name}. + Device failure threshold met for firmware #{deployment.firmware.uuid} in deployment #{deployment.name}. """ AuditLogs.audit!(deployment, device, description)