diff options
Diffstat (limited to 'mastodon/conversations.py')
-rw-r--r-- | mastodon/conversations.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mastodon/conversations.py b/mastodon/conversations.py index ba3ee61..5482fb7 100644 --- a/mastodon/conversations.py +++ b/mastodon/conversations.py | |||
@@ -39,5 +39,4 @@ class Mastodon(Internals): | |||
39 | Returns the updated :ref:`conversation dict <conversation dict>`. | 39 | Returns the updated :ref:`conversation dict <conversation dict>`. |
40 | """ | 40 | """ |
41 | id = self.__unpack_id(id) | 41 | id = self.__unpack_id(id) |
42 | url = '/api/v1/conversations/{0}/read'.format(str(id)) | 42 | return self.__api_request('POST', f'/api/v1/conversations/{id}/read') |
43 | return self.__api_request('POST', url) | ||