We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1f500 commit 9456562Copy full SHA for 9456562
telegraph/api.py
@@ -113,7 +113,11 @@ def revoke_access_token(self):
113
On success, returns dict with new access_token and auth_url fields
114
"""
115
116
- return self._telegraph.method('revokeAccessToken')
+ response = self._telegraph.method('revokeAccessToken')
117
+
118
+ self._telegraph.access_token = response.get('access_token')
119
120
+ return response
121
122
def get_page(self, path, return_content=True, return_html=True):
123
""" Get a Telegraph page
0 commit comments