From ec4ba9e8d81ec1ddcb69dff6be9412a3c88c4f2d Mon Sep 17 00:00:00 2001 From: Anthony Li Date: Fri, 20 Feb 2026 23:27:47 +0000 Subject: [PATCH] Fix APNs client init --- backend/user/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/user/notifications.py b/backend/user/notifications.py index e9b5d12c..a4232255 100644 --- a/backend/user/notifications.py +++ b/backend/user/notifications.py @@ -104,7 +104,7 @@ def get_client(is_dev): auth_key_path = ( f"/app/secrets/notifications/ios{'/dev/apns-dev' if is_dev else '/prod/apns-prod'}.pem" ) - return APNsClient(credentials=auth_key_path, use_sandbox=is_dev) + return APNsClient(auth_key_path, use_sandbox=is_dev) def __init__(self, is_dev=False): try: