diff --git a/core/api/src/services/kratos/auth-username-password-deviceid.ts b/core/api/src/services/kratos/auth-username-password-deviceid.ts index 97f0e6e951..1bfbafca73 100644 --- a/core/api/src/services/kratos/auth-username-password-deviceid.ts +++ b/core/api/src/services/kratos/auth-username-password-deviceid.ts @@ -34,7 +34,7 @@ export const AuthWithUsernamePasswordDeviceIdService = await kratosAdmin.createIdentity({ createIdentityBody }) } catch (err) { - // we continue if there is 409/Conflit, + // we continue if there is 409/Conflict, // because it means the identity already exists if (isAxiosError(err) && err.response?.status !== 409) { return new UnknownKratosError( diff --git a/core/notifications/src/notification_event/price_changed.rs b/core/notifications/src/notification_event/price_changed.rs index 662e24529a..6294f2162a 100644 --- a/core/notifications/src/notification_event/price_changed.rs +++ b/core/notifications/src/notification_event/price_changed.rs @@ -40,7 +40,7 @@ pub struct PriceChanged { impl PriceChanged { const NOTIFICATION_THRESHOLD: ChangePercentage = ChangePercentage(5.0); - #[allow(deprecated)] // recommndation is try_days but Option.unwrap() is not yet const fn + #[allow(deprecated)] // recommendation is try_days but Option.unwrap() is not yet const fn const COOL_OFF_PERIOD: chrono::Duration = chrono::Duration::days(2); pub fn should_notify(&self, last_trigger: Option>) -> bool {