From efadc21cdcda462e3a0e3dc2d4badfd026823278 Mon Sep 17 00:00:00 2001 From: Tom Najdek Date: Thu, 31 Jul 2025 16:04:06 +0200 Subject: [PATCH] Update a call to a deprecated function in Mendeley import --- chrome/content/zotero/import/mendeley/mendeleyImport.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/import/mendeley/mendeleyImport.mjs b/chrome/content/zotero/import/mendeley/mendeleyImport.mjs index dcb0b3a1a9..42ca8ef648 100644 --- a/chrome/content/zotero/import/mendeley/mendeleyImport.mjs +++ b/chrome/content/zotero/import/mendeley/mendeleyImport.mjs @@ -823,7 +823,7 @@ Zotero_Import_Mendeley.prototype._fetchFile = async function (fileID, filePath) await Zotero.File.createDirectoryIfMissingAsync(fileDir); const xhr = await apiFetch(this._tokens, `files/${fileID}`, {}, {}, { responseType: 'blob', followRedirects: false }); const uri = xhr.getResponseHeader('location'); - await Zotero.File.download(uri, filePath); + await Zotero.HTTP.download(uri, filePath); this._progress += 1; if (this._itemDone) {