mcp: make NotificationSubscriptions a mandatory field (#1050)
Fixes #1037
This commit is contained in:
parent
ec564f9ccb
commit
d651e2d2e1
1 changed files with 56 additions and 5 deletions
|
|
@ -2063,7 +2063,7 @@ type SubscriptionsListenParams struct {
|
|||
Meta `json:"_meta,omitempty"`
|
||||
// Notifications declares which notification types the client wants to
|
||||
// receive on this stream.
|
||||
Notifications NotificationSubscriptions `json:"notifications"`
|
||||
Notifications *NotificationSubscriptions `json:"notifications"`
|
||||
}
|
||||
|
||||
func (x *SubscriptionsListenParams) isParams() {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue