Skip to content

Commit b13cf8f

Browse files
committed
refactor: change notification params type from Map<String,Object> to Object (modelcontextprotocol#137)
1 parent 8d5bd5d commit b13cf8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp-solon/mcp-solon-webrx/src/main/java/io/modelcontextprotocol/server/transport/WebRxSseServerTransportProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public void setSessionFactory(McpServerSession.Factory sessionFactory) {
176176
* errors if any session fails to receive the message
177177
*/
178178
@Override
179-
public Mono<Void> notifyClients(String method, Map<String,Object> params) {
179+
public Mono<Void> notifyClients(String method, Object params) {
180180
if (sessions.isEmpty()) {
181181
logger.debug("No active sessions to broadcast message to");
182182
return Mono.empty();

0 commit comments

Comments
 (0)