Skip to content

Commit c2c371c

Browse files
authored
fix: typo in addtion to addition (#4)
1 parent 5f81695 commit c2c371c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function translate(query, completion) {
9191
error: {
9292
type: reason,
9393
message: `接口响应错误 - ${resp.data.error.message}`,
94-
addtion: JSON.stringify(resp),
94+
addition: JSON.stringify(resp),
9595
},
9696
});
9797
} else {
@@ -123,7 +123,7 @@ function translate(query, completion) {
123123
error: {
124124
type: err._type || "unknown",
125125
message: err._message || "未知错误",
126-
addtion: err._addtion,
126+
addition: err._addition,
127127
},
128128
});
129129
});

0 commit comments

Comments
 (0)