This commit is contained in:
2023-03-03 16:05:32 +07:00
parent b46d3a5b25
commit a8d32ada48
@@ -1106,7 +1106,7 @@ const loadingBalanceInsert = async (param) => {
if (lastHistory) {
// if last history card is topup (21 = log name id for topup)
if (lastHistory.i_log_name == 21) {
if (lastHistory.i_log_name == 21 && lastHistory.c_source == 'CMS') {
// log warn
winston.logger.warn(`${uniqueCode} inserting fraud transaction...`);