aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 14:30:47 +0200
committerLorenz Diener <[email protected]>2018-06-05 14:30:47 +0200
commit4b747886b918d3da91f62b2ba7f7bc4aa142cf79 (patch)
tree3b32461ca8c657c4ced42c139d46306712713592
parent65f4884ff9d7538faa08d72093a589e085e50a68 (diff)
downloadmastodon.py-4b747886b918d3da91f62b2ba7f7bc4aa142cf79.tar.gz
Improve docs
-rw-r--r--docs/index.rst2
-rw-r--r--mastodon/Mastodon.py2
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
Powered by cgit v1.2.3 (git 2.41.0)