mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-13 16:17:54 +00:00
Fix: Use RESEND_TOKEN environment variable name
This commit is contained in:
@@ -10,7 +10,7 @@ export async function onRequestPost({ request, env }) {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': `Bearer ${env.RESEND_KEY}`
|
||||
'Authorization': `Bearer ${env.RESEND_TOKEN}`
|
||||
},
|
||||
body: JSON.stringify({ email })
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user