diff --git a/packages/executors/http/src/index.ts b/packages/executors/http/src/index.ts index e3037b33..b35b0ce6 100644 --- a/packages/executors/http/src/index.ts +++ b/packages/executors/http/src/index.ts @@ -251,7 +251,7 @@ export function buildHTTPExecutor( ? request.operationName : undefined, extensions: - (request.extensions && Object.keys(request.extensions).length > 0) + request.extensions && Object.keys(request.extensions).length > 0 ? request.extensions : undefined, }; diff --git a/packages/executors/http/src/utils.ts b/packages/executors/http/src/utils.ts index d9c78dea..e86a0b47 100644 --- a/packages/executors/http/src/utils.ts +++ b/packages/executors/http/src/utils.ts @@ -75,4 +75,4 @@ export function jsonStringifyBody(body: SerializedRequest) { } str += '}'; return str; -} \ No newline at end of file +}