mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-12 16:02:10 +08:00
fix: /api/mails' use address from jwt (#5)
This commit is contained in:
@@ -22,7 +22,7 @@ const refresh = async () => {
|
||||
}
|
||||
try {
|
||||
loading.value = true;
|
||||
const response = await fetch(`${API_BASE}/api/mails?address=${address.value}`, {
|
||||
const response = await fetch(`${API_BASE}/api/mails`, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Authorization": `Bearer ${jwt.value}`,
|
||||
|
||||
Reference in New Issue
Block a user