Skip to content

Commit ec4ba9e

Browse files
committed
Fix APNs client init
1 parent 034d40d commit ec4ba9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/user/notifications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def get_client(is_dev):
104104
auth_key_path = (
105105
f"/app/secrets/notifications/ios{'/dev/apns-dev' if is_dev else '/prod/apns-prod'}.pem"
106106
)
107-
return APNsClient(credentials=auth_key_path, use_sandbox=is_dev)
107+
return APNsClient(auth_key_path, use_sandbox=is_dev)
108108

109109
def __init__(self, is_dev=False):
110110
try:

0 commit comments

Comments
 (0)