windingwind / zotero-plugin-toolkit

Toolkit for Zotero Plugin Developers.
https://www.npmjs.com/package/zotero-plugin-toolkit
MIT License
115 stars 13 forks source link

Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead #50

Closed zzlb0224 closed 7 months ago

zzlb0224 commented 7 months ago

Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead

windingwind commented 7 months ago

It's from

https://github.com/windingwind/zotero-plugin-toolkit/blob/35dc0b0b36961f3befc1fd6014f75a9ccba84187/src/managers/preferencePane.ts#L224

, which is deprecated:

https://github.com/windingwind/zotero-plugin-toolkit/blob/35dc0b0b36961f3befc1fd6014f75a9ccba84187/src/managers/preferencePane.ts#L7