Fix cancelled notification method name
This commit is contained in:
parent
1b08f203ea
commit
15bd2dc7aa
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ export const EmptyResultSchema = ResultSchema.strict();
|
|||
* A client MUST NOT attempt to cancel its `initialize` request.
|
||||
*/
|
||||
export const CancelledNotificationSchema = NotificationSchema.extend({
|
||||
method: z.literal("cancelled"),
|
||||
method: z.literal("notifications/cancelled"),
|
||||
params: BaseNotificationParamsSchema.extend({
|
||||
/**
|
||||
* The ID of the request to cancel.
|
||||
|
|
|
|||
Loading…
Reference in a new issue