Преглед на файлове

update

tags/Baseline_180220205_Frontend
MSI\derek преди 11 месеца
родител
ревизия
cd40550e20
променени са 1 файла, в които са добавени 18 реда и са изтрити 2 реда
  1. +18
    -2
      src/app/api/mail/actions.ts

+ 18
- 2
src/app/api/mail/actions.ts Целия файл

@@ -17,8 +17,24 @@ export const saveMail = async (data: MailSave) => {
});
};

export const testMail = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/test`, {
export const testEveryone = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/testEveryone`, {
method: "GET",
// body: JSON.stringify(data),
headers: { "Content-Type": "application/json" },
});
};

export const test7th = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/test7th`, {
method: "GET",
// body: JSON.stringify(data),
headers: { "Content-Type": "application/json" },
});
};

export const test15th = async () => {
return serverFetchWithNoContent(`${BASE_API_URL}/mails/test15th`, {
method: "GET",
// body: JSON.stringify(data),
headers: { "Content-Type": "application/json" },


Зареждане…
Отказ
Запис