Skip to content

Commit 93a996f

Browse files
koushiroTyera Eulberg
authored andcommitted
Fix pubsub_ws example (paritytech#343)
params: [] in node.js will be parsed into Params::Array([]) instead of Params::None.
1 parent acd1507 commit 93a996f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pubsub/more-examples/examples/pubsub_ws.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use jsonrpc_core::futures::Future;
2424
/// jsonrpc: "2.0",
2525
/// id: 1,
2626
/// method: "subscribe_hello",
27-
/// params: [],
27+
/// params: null,
2828
/// }));
2929
/// });
3030
///

0 commit comments

Comments
 (0)