Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion core/notifications/src/notification_event/price_changed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<chrono::DateTime<chrono::Utc>>) -> bool {
Expand Down
Loading