Commit af048767 authored by nanahira's avatar nanahira

fix arraybuffer

parent b33efdea
......@@ -193,7 +193,7 @@ export default class PicsContainer
}
const data = await this._http.file(url);
return {
buffer: data.data as Buffer,
buffer: Buffer.from(data.data),
mime: data.mime,
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment