request id might be 0
This commit is contained in:
parent
95f8986242
commit
4e0c2837f5
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ export class StreamableHTTPServerTransport implements Transport {
|
|||
// after sending all related responses
|
||||
shouldCloseConnection = true;
|
||||
}
|
||||
if (!requestId) {
|
||||
if (requestId === undefined) {
|
||||
throw new Error("No request ID provided for the message");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue