fix(notif): fixing for notification Monthly

This commit is contained in:
2026-07-08 12:36:29 +07:00
parent 276a75f13f
commit e02aa92c64
3 changed files with 88 additions and 27 deletions

View File

@@ -91,6 +91,25 @@ const searchData = async (queryParams) => {
return response.data;
};
// Reminder Monthly
const reminderMonthly = async (id, queryParams) => {
const response = await SendRequest({
method: 'post',
prefix: `notifikasi-wa/reminder-monthly/${id}`,
params: queryParams,
});
return response.data;
};
const reminderCustom= async (id, queryParams) => {
const response = await SendRequest({
method: 'post',
prefix: `notifikasi-wa/reminder-custom/${id}`,
params: queryParams,
});
return response.data;
};
export {
getAllNotification,
getNotificationById,
@@ -102,4 +121,6 @@ export {
resendChatByUser,
resendChatAllUser,
searchData,
reminderMonthly,
reminderCustom,
};