From 883b2e94cb99125abcee17001cfab2cad36cdc83 Mon Sep 17 00:00:00 2001 From: Earl Duque <31702109+earlduque@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:55:53 -0800 Subject: [PATCH] Update Whois to remove the leading space in front of email --- Parsers/Admin tool - Whois.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Parsers/Admin tool - Whois.js b/Parsers/Admin tool - Whois.js index fa531d0..ad1fd01 100644 --- a/Parsers/Admin tool - Whois.js +++ b/Parsers/Admin tool - Whois.js @@ -37,6 +37,7 @@ if (current.channel == "GD51HTR46" || current.channel == "G9LAJG7G8" || current. } message_body = message_body.match(/^(real_name|tz_label| {2}email):.*$/gm).join('\n'); + message_body = message_body.replace(/^\s{2}(email)/gm, '$1'); // Add record details var grUser = new GlideRecord('x_snc_slackerbot_user');