fix: resolve 21 mypy type errors across backend modules
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/bc16203d-7907-4e3f-952f-18c760c85076 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -60,7 +60,7 @@ async def send_user_notification(
|
||||
continue
|
||||
|
||||
try:
|
||||
success = await _send_apprise(config.apprise_url or "", title, body)
|
||||
success = await _send_apprise(str(config.apprise_url or ""), title, body)
|
||||
if success:
|
||||
sent += 1
|
||||
except Exception as exc:
|
||||
@@ -99,7 +99,7 @@ async def send_admin_notification(
|
||||
sent = 0
|
||||
for config in configs:
|
||||
try:
|
||||
success = await _send_apprise(config.apprise_url or "", title, body)
|
||||
success = await _send_apprise(str(config.apprise_url or ""), title, body)
|
||||
if success:
|
||||
sent += 1
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user