Skip to content

Commit ef54603

Browse files
authored
fix typo
1 parent e30f7df commit ef54603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywebpush/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def webpush(subscription_info,
379379
url = urlparse(subscription_info.get('endpoint'))
380380
aud = "{}://{}".format(url.scheme, url.netloc)
381381
vapid_claims['aud'] = aud
382-
if not valid_claims.get('exp'):
382+
if not vapid_claims.get('exp'):
383383
# encryption lives for 12 hours
384384
vapid_claims['exp'] = int(time.time()) + (12 * 60 * 60)
385385
if not vapid_private_key:

0 commit comments

Comments
 (0)