From ca4eb39e9b6aa2695aaf40f866c342e4f6be92d6 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Tue, 7 Apr 2026 19:03:49 -0700 Subject: [PATCH] fix(oauth): enhance logging to include Notion-Version in fetch requests --- src/openhuman/skills/quickjs_libs/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openhuman/skills/quickjs_libs/bootstrap.js b/src/openhuman/skills/quickjs_libs/bootstrap.js index f1f081858..76a920e90 100644 --- a/src/openhuman/skills/quickjs_libs/bootstrap.js +++ b/src/openhuman/skills/quickjs_libs/bootstrap.js @@ -881,7 +881,7 @@ globalThis.data = { timeout: options ? options.timeout : undefined, }; - console.log('[oauth.fetch] ' + method + ' ' + proxyUrl + ' (credentialId=' + credentialId + ', encrypted=' + !!clientKey + ')'); + console.log('[oauth.fetch] ' + method + ' ' + proxyUrl + ' (credentialId=' + credentialId + ', encrypted=' + !!clientKey + ', Notion-Version=' + (headers['Notion-Version'] || 'none') + ')'); var result = await net.fetch(proxyUrl, fetchOpts); console.log('[oauth.fetch] response status=' + result.status + ' body_len=' + (result.body ? result.body.length : 0));