mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 02:09:17 +00:00
10 lines
217 B
JavaScript
10 lines
217 B
JavaScript
import axios from "axios";
|
|
|
|
export async function send(subject, message, attachments) {
|
|
return await axios.post(`${import.meta.env.VITE_BACKEND_URL}/email/send`, {
|
|
subject,
|
|
message,
|
|
attachments,
|
|
});
|
|
}
|