We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d50913 commit 4d19d42Copy full SHA for 4d19d42
src/lib.rs
@@ -80,8 +80,9 @@ impl Guest for PeerClawChannel {
80
fn on_start(config_json: String) -> Result<ChannelConfig, String> {
81
channel_host::log(channel_host::LogLevel::Info, "PeerClaw channel starting");
82
83
- let config: PluginConfig =
84
- serde_json::from_str(&config_json).unwrap_or(PluginConfig { poll_interval_secs: 0 });
+ let config: PluginConfig = serde_json::from_str(&config_json).unwrap_or(PluginConfig {
+ poll_interval_secs: 0,
85
+ });
86
87
let poll = if config.poll_interval_secs > 0 {
88
Some(PollConfig {
0 commit comments