From 0788396e1546891397a0b2c872d1c472aa6c79f6 Mon Sep 17 00:00:00 2001 From: Dustin Do Date: Mon, 23 Sep 2024 17:04:00 +0700 Subject: [PATCH] fix(api): add missing revenuecat webhook route --- 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)