Fix: more events tracking for SaaS (#6234) (#6298)

This commit is contained in:
fgrep 2023-01-19 08:49:27 -03:00 committed by GitHub
parent 905fca7869
commit a86c2705e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,8 +175,8 @@ const actions = {
const response = await MessageApi.create(pendingMessage);
AnalyticsHelper.track(
pendingMessage.private
? CONVERSATION_EVENTS.CONVERSATION.SENT_PRIVATE_NOTE
: CONVERSATION_EVENTS.CONVERSATION.SENT_MESSAGE
? CONVERSATION_EVENTS.SENT_PRIVATE_NOTE
: CONVERSATION_EVENTS.SENT_MESSAGE
);
commit(types.ADD_MESSAGE, {
...response.data,