Skip to content

Commit becd787

Browse files
Merge pull request #76 from efritz/patch-1
Fix method name in client cancellation send
2 parents 5bfa616 + 3d15050 commit becd787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/protocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ export abstract class Protocol<
421421
this._transport
422422
?.send({
423423
jsonrpc: "2.0",
424-
method: "cancelled",
424+
method: "notifications/cancelled",
425425
params: {
426426
requestId: messageId,
427427
reason: String(reason),

0 commit comments

Comments
 (0)