Skip to content

Commit 5ab8589

Browse files
committed
removed unused import and added spaces to docstring
1 parent c653b6e commit 5ab8589

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/event-handler/src/rest/Router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class Router {
164164
*
165165
* @example
166166
* ```typescript
167-
* const authMiddleware: Middleware = async ({params, reqCtx, next}) => {
167+
* const authMiddleware: Middleware = async ({ params, reqCtx, next }) => {
168168
* // Authentication logic
169169
* if (!isAuthenticated(reqCtx.req)) {
170170
* return new Response('Unauthorized', { status: 401 });

packages/event-handler/src/rest/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import type {
66
HttpMethod,
77
Middleware,
88
Path,
9-
RequestContext,
109
ValidationResult,
1110
} from '../types/rest.js';
1211
import {

0 commit comments

Comments
 (0)