From 034c150d4b47c45b09b2209b65115b808a1c820a Mon Sep 17 00:00:00 2001 From: Cyrill Berg <54246876+BergCyrill@users.noreply.github.com> Date: Fri, 5 Apr 2024 09:46:46 +0000 Subject: [PATCH] fix: fixed datatype for smtpSecure property to bool --- uptime_kuma_api/notification_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uptime_kuma_api/notification_providers.py b/uptime_kuma_api/notification_providers.py index f9c6bdb..66133ac 100644 --- a/uptime_kuma_api/notification_providers.py +++ b/uptime_kuma_api/notification_providers.py @@ -394,7 +394,7 @@ notification_provider_options = { NotificationType.SMTP: dict( smtpHost=dict(type="str", required=True), smtpPort=dict(type="int", required=True), - smtpSecure=dict(type="str", required=False), + smtpSecure=dict(type="bool", required=False), smtpIgnoreTLSError=dict(type="bool", required=False), smtpDkimDomain=dict(type="str", required=False), smtpDkimKeySelector=dict(type="str", required=False), -- 2.47.0