Commit 8ccafffe11683d02ad7070d498c212888e385d3e

Authored by Adhidarma Hadiwinoto
1 parent 2cf4686d2b
Exists in master and in 1 other branch webadmin

Skip "PROSES" message

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -79,6 +79,8 @@ exports.send = async (partner, msg) => {
79 79 if (typeof partner !== 'string' || !partner.trim()) return;
80 80 if (typeof msg !== 'string' || !msg.trim()) return;
81 81  
  82 + if (msg.trim().search(/PROSES$/) >= 0) return;
  83 +
82 84 const xid = uniqid();
83 85 logger.info('TRANSPORT: Got CORE message to forward to EVO-CP', {
84 86 xid,