mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 13:51:12 -05:00
Fix ForwardEmail authentication
This commit is contained in:
@@ -165,7 +165,7 @@ serve(async (req) => {
|
|||||||
const emailResponse = await fetch('https://api.forwardemail.net/v1/emails', {
|
const emailResponse = await fetch('https://api.forwardemail.net/v1/emails', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': `Bearer ${forwardEmailApiKey}`,
|
'Authorization': 'Basic ' + btoa(forwardEmailApiKey + ':'),
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
|||||||
Reference in New Issue
Block a user