Skip to content

Commit

Permalink
Update router-method-factory.ts
Browse files Browse the repository at this point in the history
Is useful piece of code for create custom adapter
  • Loading branch information
Makkalay authored Dec 23, 2024
1 parent 7892889 commit 686d8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/helpers/router-method-factory.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit 686d8ec

Please sign in to comment.