We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0fe0289 + 7a5bd7c commit b28a477Copy full SHA for b28a477
1 file changed
examples/streamable_http_client.rb
@@ -163,9 +163,8 @@ def main
163
},
164
165
)
166
-
167
- if response[:body]["result"]
168
- logger.info("Notification tool response: #{response[:body]["result"]["content"]}")
+ if response[:body]["accepted"]
+ logger.info("Notification sent successfully")
169
else
170
logger.error("Error: #{response[:body]["error"]}")
171
end
0 commit comments