We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42cbd70 commit 8c8def9Copy full SHA for 8c8def9
packages/payload/src/config/types.ts
@@ -346,7 +346,7 @@ export type Endpoint = {
346
* Compatible with Web Request/Response Model
347
*/
348
handler: PayloadHandler
349
- /** HTTP method (or "all") */
+ /** HTTP method */
350
method: 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put'
351
/**
352
* Pattern that should match the path of the incoming request
0 commit comments