Skip to content

Commit

Permalink
♻️
Browse files Browse the repository at this point in the history
  • Loading branch information
hyodoblog committed Sep 8, 2023
1 parent 4ac6f1a commit 939554e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/line-bot/handlers/postback/products/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ export const postbackProductsHandler = async (event: PostbackEvent): Promise<voi
} else if (data.includes('products.')) {
const [, productType, priceId] = data.split('.')
switch (productType) {
case 'detail':
return await postbackProductsDetailHandler(event, priceId)
case 'one-time':
return await postbackProductsOneTimeHandler(event, priceId)
case 'regular':
return await postbackProductsRegularHandler(event, priceId)
case 'detail':
return await postbackProductsDetailHandler(event, priceId)
}
}
} catch (err) {
Expand Down

0 comments on commit 939554e

Please sign in to comment.