From 3dddeb097432414bef74be1e9a0c94bf8e71b012 Mon Sep 17 00:00:00 2001 From: Christos Nasikas Date: Thu, 26 Mar 2020 22:17:52 +0200 Subject: [PATCH] [SIEM][CASE] Add the correct user information to each comment (#61513) --- .../actions/server/builtin_action_types/servicenow/helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/actions/server/builtin_action_types/servicenow/helpers.ts b/x-pack/plugins/actions/server/builtin_action_types/servicenow/helpers.ts index 46d4789e0bd53..6dd3cc7baa760 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/servicenow/helpers.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/servicenow/helpers.ts @@ -112,8 +112,8 @@ export const transformComments = ( ...c, comment: flow(...pipes.map(p => t[p]))({ value: c.comment, - date: params.createdAt, - user: params.createdBy.fullName ?? '', + date: c.createdAt, + user: c.createdBy.fullName ?? '', }).value, })); };