mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
english about section
This commit is contained in:
+1
-2
@@ -9,14 +9,13 @@ const sendMail = async ({
|
||||
message: message,
|
||||
};
|
||||
|
||||
const response = await fetch("/api/send-mail", {
|
||||
return await fetch("/api/send-mail", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
return response;
|
||||
};
|
||||
|
||||
export default sendMail;
|
||||
|
||||
Reference in New Issue
Block a user