Fix ForwardEmail authentication

This commit is contained in:
gpt-engineer-app[bot]
2025-09-30 21:16:11 +00:00
parent ed9357d299
commit db792c7011

View File

@@ -165,7 +165,7 @@ serve(async (req) => {
const emailResponse = await fetch('https://api.forwardemail.net/v1/emails', {
method: 'POST',
headers: {
'Authorization': `Bearer ${forwardEmailApiKey}`,
'Authorization': 'Basic ' + btoa(forwardEmailApiKey + ':'),
'Content-Type': 'application/json',
},
body: JSON.stringify({