Add missing version to account_note_set

This commit is contained in:
halcy 2022-11-13 14:32:46 +02:00
parent 750527416f
commit ff489d8d3e

View File

@ -2260,6 +2260,7 @@ class Mastodon:
url = '/api/v1/accounts/{0}/unpin'.format(str(id)) url = '/api/v1/accounts/{0}/unpin'.format(str(id))
return self.__api_request('POST', url) return self.__api_request('POST', url)
@api_version("3.2.0", "3.2.0", __DICT_VERSION_RELATIONSHIP)
def account_note_set(self, id, comment): def account_note_set(self, id, comment):
""" """
Set a note (visible to the logged in user only) for the given account. Set a note (visible to the logged in user only) for the given account.
@ -2273,7 +2274,7 @@ class Mastodon:
### ###
# Writing data: Featured hashtags # Writing data: Featured hashtags
### ###
@api_version("3.0.0", "4.0.0", __DICT_VERSION_FEATURED_TAG) @api_version("3.0.0", "3.0.0", __DICT_VERSION_FEATURED_TAG)
def featured_tag_create(self, name): def featured_tag_create(self, name):
""" """
Creates a new featured hashtag displayed on the logged-in users profile. Creates a new featured hashtag displayed on the logged-in users profile.