Update send-message-helper.js
This commit is contained in:
parent
dfb4465364
commit
21c8f4a946
@ -192,6 +192,7 @@ export async function sendArticleMessage(article, options = {}) {
|
||||
userId: options.userId,
|
||||
customerId: options.customerId,
|
||||
corpId: options.corpId,
|
||||
uniqueRecord: 'YES'
|
||||
};
|
||||
if (options.teamId) {
|
||||
params.teamId = options.teamId;
|
||||
@ -424,7 +425,7 @@ export async function handleFollowUpMessages(messages, context = {}) {
|
||||
corpId: context.corpId,
|
||||
});
|
||||
} else if (msg.type === 'questionnaire') {
|
||||
|
||||
|
||||
success = await sendSurveyMessage(msg.content, {
|
||||
userId: context.userId,
|
||||
customerId: context.customerId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user