Skip to content

Commit

Permalink
fix: "Add missing 'order' case in expressRouter.ts to properly handle…
Browse files Browse the repository at this point in the history
… incoming order messages"

"fix #5"
  • Loading branch information
RyzorBent committed Sep 11, 2024
1 parent cadfd55 commit 0953a89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/expressRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ function webhookMainHandler(
case 'location':
case 'button': // template button reply
case 'contacts':
case 'order':
event = type;
data = rest[type] as FreeFormObject;
break;
Expand Down

0 comments on commit 0953a89

Please sign in to comment.