Skip to content

Commit 3ee8f1e

Browse files
dcherreraclaude
andcommitted
Fix compile error: M.method -> M.name
NSLog debug statement was using wrong property name. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3936ea8 commit 3ee8f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MCP/Client/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public actor Client {
319319

320320
/// Send a request and receive its response
321321
public func send<M: Method>(_ request: Request<M>) async throws -> M.Result {
322-
NSLog("🔵 CLIENT.send() ENTRY - method: \(M.method), id: \(request.id)")
322+
NSLog("🔵 CLIENT.send() ENTRY - method: \(M.name), id: \(request.id)")
323323
guard let connection = connection else {
324324
throw MCPError.internalError("Client connection not initialized")
325325
}

0 commit comments

Comments
 (0)