Skip to content

Commit 9e60bba

Browse files
committed
fix comments
1 parent f84e778 commit 9e60bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/insomnia/src/main/mcp/transport-streamable-http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const wrappedFetch = async (
161161
}
162162

163163
const { resourceMetadataUrl, scope: scopeFromWWWAuthenticate } = extractWWWAuthenticateParams(response);
164-
// Use scope from authenticate header if available, otherwise use scope from www authentication params
164+
// Use scope from authenticate config if available, otherwise use scope from WWW-Authenticate header
165165
const scope = 'scope' in authentication && authentication.scope ? authentication.scope : scopeFromWWWAuthenticate;
166166
if (resourceMetadataUrl) {
167167
authProvider.saveResourceMetadataUrl(resourceMetadataUrl);

0 commit comments

Comments
 (0)