mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 07:27:27 +08:00
fix: typos (#221)
This commit is contained in:
@@ -33,7 +33,7 @@ const apiFetch = async (path, options = {}) => {
|
|||||||
}
|
}
|
||||||
if (response.status === 401 && path.startsWith("/admin")) {
|
if (response.status === 401 && path.startsWith("/admin")) {
|
||||||
showAdminAuth.value = true;
|
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) {
|
if (response.status >= 300) {
|
||||||
throw new Error(`${response.status} ${response.data}` || "error");
|
throw new Error(`${response.status} ${response.data}` || "error");
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ api.post('/admin/address_sender', async (c) => {
|
|||||||
}
|
}
|
||||||
await sendAdminInternalMail(
|
await sendAdminInternalMail(
|
||||||
c, address, "Account Send Access Updated",
|
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({
|
return c.json({
|
||||||
success: success
|
success: success
|
||||||
|
|||||||
Reference in New Issue
Block a user