[SIEM][CASE] Add the correct user information to each comment (#61513)

This commit is contained in:
Christos Nasikas 2020-03-26 22:17:52 +02:00 committed by GitHub
parent 65452bddf9
commit f462b10863
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}));
};