Skip to content

Commit f6da86d

Browse files
committed
stupid me
1 parent b1cad73 commit f6da86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ class Base {
854854
return download.getBufferAndType(avatarUrl).then(({buffer, type})=> {
855855
let opts = {
856856
name: path.basename(avatarUrl),
857-
type.split(';')[0],
857+
type: type.split(';')[0],
858858
rawResponse: false
859859
};
860860
return client.uploadContent(buffer, opts);

0 commit comments

Comments
 (0)