From 692ff00a8ea81fc4cd3f2977b536289f04cb575a Mon Sep 17 00:00:00 2001 From: Dustin Do Date: Mon, 23 Sep 2024 17:07:25 +0700 Subject: [PATCH] fix(api): add missing revenuecat webhook route (#380) --- apps/api/v1/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api/v1/index.ts b/apps/api/v1/index.ts index aefc5c8..0e5d041 100644 --- a/apps/api/v1/index.ts +++ b/apps/api/v1/index.ts @@ -8,10 +8,12 @@ import transactionsApp from './routes/transactions' import usersApp from './routes/users' import walletsApp from './routes/wallets' import clerkWebhooksApp from './routes/webhooks/clerk' +import revenuecatWebhooksApp from './routes/webhooks/revenuecat' export const hono = new Hono() .get('/health', (c) => c.text('ok')) .route('/webhooks/clerk', clerkWebhooksApp) + .route('/webhooks/revenuecat', revenuecatWebhooksApp) .use('*', authMiddleware) .route('/auth', authApp)