From c2c371c141b3eed601e3b8375171c2f239d36fc9 Mon Sep 17 00:00:00 2001 From: Bryan Lee <38807139+liby@users.noreply.github.com> Date: Sun, 5 Mar 2023 04:37:47 +0800 Subject: [PATCH] fix: typo in `addtion` to `addition` (#4) --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 1af1009..b7bcc02 100644 --- a/src/main.js +++ b/src/main.js @@ -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 { @@ -123,7 +123,7 @@ function translate(query, completion) { error: { type: err._type || "unknown", message: err._message || "未知错误", - addtion: err._addtion, + addition: err._addition, }, }); });