Skip to content

Commit

Permalink
🐛 Fix: correct sm.ms err msg (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
xlzy520 authored and Molunerfinn committed Sep 29, 2019
1 parent 8861984 commit f0a4e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/uploader/smms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ const handle = async (ctx: PicGo): Promise<PicGo> => {
} else {
ctx.emit('notification', {
title: '上传失败',
body: body.msg
body: body.message
})
throw new Error(body.msg)
throw new Error(body.message)
}
}
return ctx
Expand Down

0 comments on commit f0a4e8a

Please sign in to comment.