Skip to content

Commit

Permalink
fix: typo in addtion to addition (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
liby authored Mar 4, 2023
1 parent 5f81695 commit c2c371c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function translate(query, completion) {
error: {
type: reason,
message: `接口响应错误 - ${resp.data.error.message}`,
addtion: JSON.stringify(resp),
addition: JSON.stringify(resp),
},
});
} else {
Expand Down Expand Up @@ -123,7 +123,7 @@ function translate(query, completion) {
error: {
type: err._type || "unknown",
message: err._message || "未知错误",
addtion: err._addtion,
addition: err._addition,
},
});
});
Expand Down

0 comments on commit c2c371c

Please sign in to comment.