Skip to content

Commit 15bd2dc

Browse files
committed
Fix cancelled notification method name
1 parent 1b08f20 commit 15bd2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const EmptyResultSchema = ResultSchema.strict();
162162
* A client MUST NOT attempt to cancel its `initialize` request.
163163
*/
164164
export const CancelledNotificationSchema = NotificationSchema.extend({
165-
method: z.literal("cancelled"),
165+
method: z.literal("notifications/cancelled"),
166166
params: BaseNotificationParamsSchema.extend({
167167
/**
168168
* The ID of the request to cancel.

0 commit comments

Comments
 (0)