Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nestjs/nest
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Sep 23, 2024
2 parents 3c24de6 + 091722e commit 0682d39
Show file tree
Hide file tree
Showing 22 changed files with 1,344 additions and 1,063 deletions.
133 changes: 60 additions & 73 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@types/express": "4.17.21",
"@types/gulp": "4.0.17",
"@types/http-errors": "2.0.4",
"@types/mocha": "10.0.7",
"@types/mocha": "10.0.8",
"@types/node": "22.5.5",
"@types/sinon": "17.0.3",
"@types/supertest": "2.0.16",
Expand All @@ -119,7 +119,7 @@
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"clang-format": "1.8.0",
"concurrently": "8.2.2",
"concurrently": "9.0.1",
"conventional-changelog": "6.0.0",
"core-js": "3.38.1",
"coveralls": "3.1.1",
Expand Down Expand Up @@ -156,12 +156,12 @@
"multer": "1.4.4",
"mysql2": "3.11.3",
"nats": "2.28.2",
"nodemon": "3.1.4",
"nodemon": "3.1.5",
"nyc": "14.1.1",
"prettier": "3.3.3",
"redis": "4.7.0",
"rxjs-compat": "6.6.7",
"sinon": "18.0.0",
"sinon": "19.0.2",
"sinon-chai": "3.7.0",
"socket.io-client": "4.7.5",
"subscriptions-transport-ws": "0.11.0",
Expand Down
16 changes: 8 additions & 8 deletions packages/platform-fastify/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,35 +289,35 @@ export class FastifyAdapter<
}

public get(...args: any[]) {
return this.injectRouteOptions('get', ...args);
return this.injectRouteOptions('GET', ...args);
}

public post(...args: any[]) {
return this.injectRouteOptions('post', ...args);
return this.injectRouteOptions('POST', ...args);
}

public head(...args: any[]) {
return this.injectRouteOptions('head', ...args);
return this.injectRouteOptions('HEAD', ...args);
}

public delete(...args: any[]) {
return this.injectRouteOptions('delete', ...args);
return this.injectRouteOptions('DELETE', ...args);
}

public put(...args: any[]) {
return this.injectRouteOptions('put', ...args);
return this.injectRouteOptions('PUT', ...args);
}

public patch(...args: any[]) {
return this.injectRouteOptions('patch', ...args);
return this.injectRouteOptions('PATCH', ...args);
}

public options(...args: any[]) {
return this.injectRouteOptions('options', ...args);
return this.injectRouteOptions('OPTIONS', ...args);
}

public search(...args: any[]) {
return this.injectRouteOptions('search', ...args);
return this.injectRouteOptions('SEARCH', ...args);
}

public applyVersionFilter(
Expand Down
Loading

0 comments on commit 0682d39

Please sign in to comment.