From cdc5c5202b45f199148fc9c95166d86190114704 Mon Sep 17 00:00:00 2001 From: Sunset Mikoto <26019675+lwd-temp@users.noreply.github.com> Date: Fri, 10 May 2024 21:23:59 +0800 Subject: [PATCH] fix: typos (#221) --- frontend/src/api/index.js | 2 +- worker/src/admin_api/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/api/index.js b/frontend/src/api/index.js index f2e6933d..cb961ee5 100644 --- a/frontend/src/api/index.js +++ b/frontend/src/api/index.js @@ -33,7 +33,7 @@ const apiFetch = async (path, options = {}) => { } if (response.status === 401 && path.startsWith("/admin")) { showAdminAuth.value = true; - throw new Error("Unauthorized, you admin password is wrong") + throw new Error("Unauthorized, your admin password is wrong") } if (response.status >= 300) { throw new Error(`${response.status} ${response.data}` || "error"); diff --git a/worker/src/admin_api/index.js b/worker/src/admin_api/index.js index d1bb7401..ee102fec 100644 --- a/worker/src/admin_api/index.js +++ b/worker/src/admin_api/index.js @@ -149,7 +149,7 @@ api.post('/admin/address_sender', async (c) => { } await sendAdminInternalMail( c, address, "Account Send Access Updated", - `You send access has been ${enabled ? "enabled" : "disabled"}, balance: ${balance}` + `Your send access has been ${enabled ? "enabled" : "disabled"}, balance: ${balance}` ); return c.json({ success: success