Merge pull request #1259 from mAAdhaTTah/fix-readwise-token

This commit is contained in:
Nick Sweeting 2023-10-30 11:59:08 -07:00 committed by GitHub
commit e2bcb19603
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ class ReadwiseReaderAPI:
def get_archive(self): def get_archive(self):
response = requests.get( response = requests.get(
url="https://readwise.io/api/v3/list/", url="https://readwise.io/api/v3/list/",
headers={"Authorization": "Token s71gNtiNDWquEvlJFFUyDU10ao8fn99lGyNryvyllQcDSnrd7X"}, headers={"Authorization": f"Token {self.api_token}"},
params={ params={
"location": "archive", "location": "archive",
"pageCursor": self.cursor, "pageCursor": self.cursor,