From bc06decc02ea5f2756965cff245029795dadd991 Mon Sep 17 00:00:00 2001 From: Marco Kirchner Date: Thu, 7 Nov 2024 18:01:25 +0100 Subject: [PATCH] Add missing retry_interval alias, fixes #96 --- CHANGELOG.md | 1 + kuma-client/src/models/monitor.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e18a13..b051da2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - File source now skips unsupported files rather then interrupting the whole sync, see [#89](https://github.com/BigBoot/AutoKuma/issues/89) - File source now supports nested folders, the ids will be in the format `/` without the file extension, see [#28](https://github.com/BigBoot/AutoKuma/issues/28) +- Add missing retry_interval alias, see [#96](https://github.com/BigBoot/AutoKuma/issues/96) ## [0.8.0] - 2024-08-22 ### Added diff --git a/kuma-client/src/models/monitor.rs b/kuma-client/src/models/monitor.rs index fef9017..9fb4b84 100644 --- a/kuma-client/src/models/monitor.rs +++ b/kuma-client/src/models/monitor.rs @@ -97,6 +97,7 @@ macro_rules! monitor_type { pub max_retries: Option, #[serde(rename = "retryInterval")] + #[serde(alias = "retry_interval")] #[serde_inline_default(Some(60))] #[serde_as(as = "Option")] pub retry_interval: Option,