diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 52b55df..1830036 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1611,7 +1611,6 @@ class Mastodon: | |||
1611 | 1611 | ||
1612 | return priv_dict, pub_dict | 1612 | return priv_dict, pub_dict |
1613 | 1613 | ||
1614 | @api_version("2.4.0", "2.4.0", __DICT_VERSION_PUSH_NOTIF) | ||
1615 | def push_subscription_decrypt_push(self, data, decrypt_params, encryption_header, crypto_key_header): | 1614 | def push_subscription_decrypt_push(self, data, decrypt_params, encryption_header, crypto_key_header): |
1616 | """ | 1615 | """ |
1617 | Decrypts `data` received in a webpush request. Requires the private key dict | 1616 | Decrypts `data` received in a webpush request. Requires the private key dict |
@@ -2109,7 +2108,7 @@ class Mastodon: | |||
2109 | (or at least the locals() call) should generally be the first thing | 2108 | (or at least the locals() call) should generally be the first thing |
2110 | in your function. | 2109 | in your function. |
2111 | """ | 2110 | """ |
2112 | params = dict(params) | 2111 | params = collections.OrderedDict(params) |
2113 | 2112 | ||
2114 | del params['self'] | 2113 | del params['self'] |
2115 | param_keys = list(params.keys()) | 2114 | param_keys = list(params.keys()) |