edit getList w/out setupID

This commit is contained in:
AlfandiMario
2024-11-12 14:44:41 +07:00
parent 0b04f76f9e
commit aa91585650
6 changed files with 14 additions and 71 deletions

View File

@@ -6,15 +6,13 @@ import { NAME_SPACE } from "./server";
export const getListOutbox = async (
statusOutbox: string,
startDate: string,
endDate: string,
setupID: string
endDate: string
) => {
const url = config.base_url + "mockup/sendwa/sendwa/listoutbox";
logging.info(NAME_SPACE, "\t INFO : " + url);
logging.info(NAME_SPACE, "\t INFO Status Outbox: " + statusOutbox);
logging.info(NAME_SPACE, "\t INFO Start Date: " + startDate);
logging.info(NAME_SPACE, "\t INFO End Date: " + endDate);
logging.info(NAME_SPACE, "\t INFO Setup id: " + setupID);
try {
const resp = await axios.post(
@@ -23,7 +21,6 @@ export const getListOutbox = async (
statusOutbox: statusOutbox,
startDate: startDate,
endDate: endDate,
setupID: setupID,
},
{
headers: { "Content-Type": "application/json; charset=UTF-8" },