Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 20, 2022
1 parent ff2ad6d commit c91730c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/WebPush.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,3 @@ You will need a service worker registered with your web app that can handle the
})
);
});
2 changes: 1 addition & 1 deletion push_notifications/webpush.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_subscription_info(application_id, uri, browser, auth, p256dh):
endpoint = uri
else:
url = get_manager().get_wp_post_url(application_id, browser)
endpoint = "{}/{}".format(url, uri)
endpoint = "{}/{}".format(url, uri)
warnings.warn(
"registratipn_id should be the full endpoint returned from pushManager.subscribe",
warnings.DeprecationWarning,
Expand Down

0 comments on commit c91730c

Please sign in to comment.