fix: typos (#221)

This commit is contained in:
Sunset Mikoto
2024-05-10 21:23:59 +08:00
committed by GitHub
parent 58c3fdb5b4
commit cdc5c5202b
2 changed files with 2 additions and 2 deletions

View File

@@ -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");

View File

@@ -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