fix: stripe payment webhooks

This commit is contained in:
Ahmed Bouhuolia
2025-12-02 01:26:58 +02:00
parent 8f54754aba
commit eb51646035
5 changed files with 35 additions and 22 deletions

View File

@@ -15,7 +15,7 @@ global.__views_dirname = path.join(global.__static_dirname, '/views');
global.__images_dirname = path.join(global.__static_dirname, '/images');
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const app = await NestFactory.create(AppModule, { rawBody: true });
app.setGlobalPrefix('/api');
// create and mount the middleware manually here