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 c653b6e commit 5ab8589Copy full SHA for 5ab8589
packages/event-handler/src/rest/Router.ts
@@ -164,7 +164,7 @@ class Router {
164
*
165
* @example
166
* ```typescript
167
- * const authMiddleware: Middleware = async ({params, reqCtx, next}) => {
+ * const authMiddleware: Middleware = async ({ params, reqCtx, next }) => {
168
* // Authentication logic
169
* if (!isAuthenticated(reqCtx.req)) {
170
* return new Response('Unauthorized', { status: 401 });
packages/event-handler/src/rest/utils.ts
@@ -6,7 +6,6 @@ import type {
6
HttpMethod,
7
Middleware,
8
Path,
9
- RequestContext,
10
ValidationResult,
11
} from '../types/rest.js';
12
import {
0 commit comments