Update Z.File.getSample() signature to match getBinaryContentsAsync()

Not updated with 2b41b0127c
This commit is contained in:
Dan Stillman 2023-11-10 15:59:11 -05:00
parent f1373652e6
commit b6d8571860

View file

@ -116,7 +116,7 @@ Zotero.File = new function(){
/**
* Get the first 200 bytes of a source as a string (multibyte-safe)
*
* @param {nsIURI|nsIFile|string spec|nsIChannel|nsIInputStream} source - The source to read
* @param {string path|nsIFile|file URI} source - The source to read
* @return {Promise}
*/
this.getSample = async function (file) {