We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e351d2 commit baf72dcCopy full SHA for baf72dc
1 file changed
packages/b2c-tooling/src/clients/ocapi.ts
@@ -83,10 +83,7 @@ export function createLoggingMiddleware(): Middleware {
83
84
// Trace: Log request details (body is in options for openapi-fetch)
85
const body = (options as {body?: unknown}).body;
86
- logger.trace(
87
- {headers: headersToObject(request.headers), body},
88
- `[OCAPI REQ BODY] ${request.method} ${url}`,
89
- );
+ logger.trace({headers: headersToObject(request.headers), body}, `[OCAPI REQ BODY] ${request.method} ${url}`);
90
91
// Store start time for duration calculation
92
(request as Request & {_startTime?: number})._startTime = Date.now();
0 commit comments