Skip to content

Commit baf72dc

Browse files
committed
fix format
1 parent 7e351d2 commit baf72dc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • packages/b2c-tooling/src/clients

packages/b2c-tooling/src/clients/ocapi.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ export function createLoggingMiddleware(): Middleware {
8383

8484
// Trace: Log request details (body is in options for openapi-fetch)
8585
const body = (options as {body?: unknown}).body;
86-
logger.trace(
87-
{headers: headersToObject(request.headers), body},
88-
`[OCAPI REQ BODY] ${request.method} ${url}`,
89-
);
86+
logger.trace({headers: headersToObject(request.headers), body}, `[OCAPI REQ BODY] ${request.method} ${url}`);
9087

9188
// Store start time for duration calculation
9289
(request as Request & {_startTime?: number})._startTime = Date.now();

0 commit comments

Comments
 (0)