Skip to content

Commit

Permalink
fix(choosingReply): cleanup issuedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Oct 9, 2023
1 parent f23f668 commit d19d90a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webhook/handlers/choosingReply.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function createShareBubble(articleId, fullArticleText, replyTypeEnumValue) {
}

export default async function choosingReply(params) {
let { data, state, event, issuedAt, userId, replies } = params;
let { data, state, event, userId, replies } = params;

if (event.type !== 'postback' && event.type !== 'server_choose') {
throw new ManipulationError(t`Please choose from provided options.`);
Expand Down Expand Up @@ -182,5 +182,5 @@ export default async function choosingReply(params) {
visitor.event({ ec: 'Reply', ea: 'Type', el: GetReply.type, ni: true });
visitor.send();

return { data, event, issuedAt, userId, replies };
return { data, event, userId, replies };
}

0 comments on commit d19d90a

Please sign in to comment.