feat(sep): refactor monitoring of vclaim

This commit is contained in:
riefive
2025-10-28 13:04:35 +07:00
parent f0ab15cadf
commit 87762cf17a
4 changed files with 41 additions and 9 deletions
+3 -3
View File
@@ -84,9 +84,9 @@ async function getMonitoringHistoryMappers() {
const dateLast = new Date()
dateLast.setMonth(dateFirst.getMonth() - 3)
const result = await getMonitoringHistoryList({
nop: '0002078925513',
tglawal: dateFirst.toISOString().substring(0, 10),
tglakhir: dateLast.toISOString().substring(0, 10),
cardNumber: '0002078925513',
startDate: dateFirst.toISOString().substring(0, 10),
endDate: dateLast.toISOString().substring(0, 10),
})
if (result && result.success && result.body) {
const historiesRaw = result.body?.response?.histori || []