From c9fa0ae3566b958847f7e0eadd850e21e90a3fe2 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Mon, 22 Jul 2024 11:53:07 -0400 Subject: [PATCH] ref: fix subscription_id None check --- src/sentry/uptime/subscriptions/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/uptime/subscriptions/tasks.py b/src/sentry/uptime/subscriptions/tasks.py index bfd2478c45e423..813edb97601c64 100644 --- a/src/sentry/uptime/subscriptions/tasks.py +++ b/src/sentry/uptime/subscriptions/tasks.py @@ -68,7 +68,7 @@ def delete_remote_uptime_subscription(uptime_subscription_id, **kwargs): subscription.update(subscription_id=None) if subscription_id is not None: - send_uptime_config_deletion(subscription.subscription_id) + send_uptime_config_deletion(subscription_id) def send_uptime_subscription_config(subscription: UptimeSubscription) -> str: