Skip to content

Commit 5e98a1d

Browse files
authored
Merge pull request #68 from DouglasNeuroInformatics/raw-body
fix: attach raw body to request object (required for stripe webhooks)
2 parents a3f937f + 5b268b3 commit 5e98a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/app.container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class AppContainer extends AbstractAppContainer {
2929
const app = await NestFactory.create<NestFastifyApplication>(
3030
this.module,
3131
new FastifyAdapter({ bodyLimit: 1024 * 1024 * 50 }),
32-
{ bufferLogs: true }
32+
{ bufferLogs: true, rawBody: true }
3333
);
3434
return configureApp(app, {
3535
docs: this.docs,

0 commit comments

Comments
 (0)