diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 14:32:46 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 14:32:46 +0200 |
commit | ff489d8d3ef74725a86ed9999c9fa2c8cd32dfac (patch) | |
tree | 91dc1f2f11d2f3f8e105bd41c15fe30e5ffe2bbb /mastodon | |
parent | 750527416f4607b38415fa405e85876578dda05e (diff) | |
download | mastodon.py-ff489d8d3ef74725a86ed9999c9fa2c8cd32dfac.tar.gz |
Add missing version to account_note_set
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 7d881a0..c3e3122 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -2260,6 +2260,7 @@ class Mastodon: | |||
2260 | url = '/api/v1/accounts/{0}/unpin'.format(str(id)) | 2260 | url = '/api/v1/accounts/{0}/unpin'.format(str(id)) |
2261 | return self.__api_request('POST', url) | 2261 | return self.__api_request('POST', url) |
2262 | 2262 | ||
2263 | @api_version("3.2.0", "3.2.0", __DICT_VERSION_RELATIONSHIP) | ||
2263 | def account_note_set(self, id, comment): | 2264 | def account_note_set(self, id, comment): |
2264 | """ | 2265 | """ |
2265 | Set a note (visible to the logged in user only) for the given account. | 2266 | Set a note (visible to the logged in user only) for the given account. |
@@ -2273,7 +2274,7 @@ class Mastodon: | |||
2273 | ### | 2274 | ### |
2274 | # Writing data: Featured hashtags | 2275 | # Writing data: Featured hashtags |
2275 | ### | 2276 | ### |
2276 | @api_version("3.0.0", "4.0.0", __DICT_VERSION_FEATURED_TAG) | 2277 | @api_version("3.0.0", "3.0.0", __DICT_VERSION_FEATURED_TAG) |
2277 | def featured_tag_create(self, name): | 2278 | def featured_tag_create(self, name): |
2278 | """ | 2279 | """ |
2279 | Creates a new featured hashtag displayed on the logged-in users profile. | 2280 | Creates a new featured hashtag displayed on the logged-in users profile. |