Skip to content

Commit 8d6b65b

Browse files
committed
fix bug for calling func SendNotificationToAllClients
1 parent 0251812 commit 8d6b65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ func (s *MCPServer) RemoveResource(uri string) {
429429

430430
// Send notification to all initialized sessions if listChanged capability is enabled
431431
if s.capabilities.resources != nil && s.capabilities.resources.listChanged {
432-
s.sendNotificationToAllClients("resources/list_changed", nil)
432+
s.SendNotificationToAllClients("resources/list_changed", nil)
433433
}
434434
}
435435

0 commit comments

Comments
 (0)