@nestjs/platform-fastify 11.0.13 → 11.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -425,6 +425,9 @@ class FastifyAdapter extends http_adapter_1.AbstractHttpAdapter {
425
425
  url: args[0],
426
426
  handler: handlerRef,
427
427
  };
428
+ if (this.instance.supportedMethods.indexOf(routerMethodKey) > -1) {
429
+ this.instance.addHttpMethod(routerMethodKey, { hasBody: true });
430
+ }
428
431
  if (isVersioned || hasConstraints || hasConfig) {
429
432
  const isPathAndRouteTuple = args.length === 2;
430
433
  if (isPathAndRouteTuple) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/platform-fastify",
3
- "version": "11.0.13",
3
+ "version": "11.0.14",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",