Skip to content

Commit 56151c4

Browse files
fix lint
1 parent d18eaca commit 56151c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/sim/lib/core/utils/with-route-handler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export function withRouteHandler<T>(handler: RouteHandler<T>): RouteHandler<T> {
2424
const requestId = generateRequestId()
2525
const startTime = Date.now()
2626
const method = request.method
27-
const path = request.nextUrl?.pathname ?? new URL(request.url ?? '/', 'http://localhost').pathname
27+
const path =
28+
request.nextUrl?.pathname ?? new URL(request.url ?? '/', 'http://localhost').pathname
2829

2930
return runWithRequestContext({ requestId, method, path }, async () => {
3031
let response: NextResponse | Response

0 commit comments

Comments
 (0)