mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-01 12:21:57 +08:00
feat: add admin account search && delete account for user (#96)
* feat: add admin account search && delete account for user * feat: add admin account search && delete account for user
This commit is contained in:
@@ -36,6 +36,11 @@ const apiFetch = async (path, options = {}) => {
|
||||
}
|
||||
const data = response.data;
|
||||
return data;
|
||||
} catch (error) {
|
||||
if (error.response) {
|
||||
throw new Error(`Code ${error.response.status}: ${error.response.data}` || "error");
|
||||
}
|
||||
throw error;
|
||||
} finally {
|
||||
loading.value = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user