diff options
-rw-r--r-- | docs/index.rst | 2 | ||||
-rw-r--r-- | mastodon/Mastodon.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst index ef96273..4d7073c 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -844,7 +844,7 @@ Mastodon allows an application to have one webpush subscription per user at a ti | |||
844 | .. automethod:: Mastodon.push_subscription_set | 844 | .. automethod:: Mastodon.push_subscription_set |
845 | .. automethod:: Mastodon.push_subscription_update | 845 | .. automethod:: Mastodon.push_subscription_update |
846 | 846 | ||
847 | .. push_subscription_generate_keys(): | 847 | .. _push_subscription_generate_keys(): |
848 | 848 | ||
849 | .. automethod:: Mastodon.push_subscription_generate_keys | 849 | .. automethod:: Mastodon.push_subscription_generate_keys |
850 | .. automethod:: Mastodon.push_subscription_decrypt_push | 850 | .. automethod:: Mastodon.push_subscription_decrypt_push |
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index ed2a1f7..38c9c75 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1518,7 +1518,7 @@ class Mastodon: | |||
1518 | requires https for this URL. `encrypt_params` is a dict with key parameters that allow | 1518 | requires https for this URL. `encrypt_params` is a dict with key parameters that allow |
1519 | the server to encrypt data for you: A public key `pubkey` and a shared secret `auth`. | 1519 | the server to encrypt data for you: A public key `pubkey` and a shared secret `auth`. |
1520 | You can generate this as well as the corresponding private key using the | 1520 | You can generate this as well as the corresponding private key using the |
1521 | `push_subscription_generate_keys()`_ . | 1521 | `push_subscription_generate_keys()`_ function. |
1522 | 1522 | ||
1523 | The rest of the parameters controls what kind of events you wish to subscribe to. | 1523 | The rest of the parameters controls what kind of events you wish to subscribe to. |
1524 | 1524 | ||