Skip to content

Commit ccdf6b6

Browse files
committed
update
1 parent 990bcea commit ccdf6b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/middlewares/static_files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function staticFiles<T>(): MiddlewareFn<T> {
4343

4444
const parentSpan = trace.getActiveSpan();
4545
if (parentSpan) {
46-
parentSpan.updateName(`${req.method} /*`);
46+
parentSpan.updateName(`${request.method} /*`);
4747
parentSpan.setAttribute("http.route", "/*");
4848
}
4949

0 commit comments

Comments
 (0)