nits: remove dead comment & align test style on local idioms
This commit is contained in:
parent
a28e25a9c0
commit
e573a0f342
1 changed files with 1 additions and 3 deletions
|
|
@ -174,7 +174,7 @@ export class StreamableHTTPClientTransport implements Transport {
|
|||
if (this._sessionId) {
|
||||
headers["mcp-session-id"] = this._sessionId;
|
||||
}
|
||||
if (this.protocolVersion != null) {
|
||||
if (this.protocolVersion) {
|
||||
headers["mcp-protocol-version"] = this.protocolVersion;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue