From 10d6b45388b37f1e74b6da091be93383de38ccf2 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Thu, 24 Apr 2025 21:28:28 +0100 Subject: [PATCH] Revert "qr-verify: Push to fam's alert channel" This reverts commit 2514b557e7294ef71c1ac8561d66052de8bad9df. --- api/products/views.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/products/views.py b/api/products/views.py index 2ae604a..711f4cd 100644 --- a/api/products/views.py +++ b/api/products/views.py @@ -756,10 +756,6 @@ class QrVerifyView(BaseView): if sd.code and not settings.DEBUG: cmd = [MANAGE_PY, 'qrrepeatalert', code] subprocess.Popen(cmd) - try: - requests.post('https://euphon-alert-23358.famzheng.workers.dev/', data=f'qr-verify: {resp}, messages: {messages}') - except Exception as e: - print(f"Failed to send qr-verify alert: {e}") return JsonResponse(resp) class CheckAutoTorchView(BaseView):