From 686d8ec740e4c94ce60215603a4e5887ae243993 Mon Sep 17 00:00:00 2001 From: Mak Date: Mon, 23 Dec 2024 12:22:04 +0200 Subject: [PATCH] Update router-method-factory.ts Is useful piece of code for create custom adapter --- packages/core/helpers/router-method-factory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/helpers/router-method-factory.ts b/packages/core/helpers/router-method-factory.ts index ff31c57e13a..45184c5e402 100644 --- a/packages/core/helpers/router-method-factory.ts +++ b/packages/core/helpers/router-method-factory.ts @@ -1,7 +1,7 @@ import { HttpServer } from '@nestjs/common'; import { RequestMethod } from '@nestjs/common/enums/request-method.enum'; -const REQUEST_METHOD_MAP = { +export const REQUEST_METHOD_MAP = { [RequestMethod.GET]: 'get', [RequestMethod.POST]: 'post', [RequestMethod.PUT]: 'put',