Skip to content

Commit 07bb923

Browse files
authored
Update Whois to remove the leading space in front of email (#470)
1 parent fedfe2a commit 07bb923

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Parsers/Admin tool - Whois.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ if (current.channel == "GD51HTR46" || current.channel == "G9LAJG7G8" || current.
3737
}
3838

3939
message_body = message_body.match(/^(real_name|tz_label| {2}email):.*$/gm).join('\n');
40+
message_body = message_body.replace(/^\s{2}(email)/gm, '$1');
4041

4142
// Add record details
4243
var grUser = new GlideRecord('x_snc_slackerbot_user');

0 commit comments

Comments
 (0)