Skip to content

Commit 0577df0

Browse files
committed
fix: Use Demo environment in reconnect example
1 parent 0073309 commit 0577df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/reconnect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
1616
dotenvy::dotenv().ok();
1717
tracing_subscriber::fmt().init();
1818

19-
let config = RithmicConfig::from_env(RithmicEnv::Live)?;
19+
let config = RithmicConfig::from_env(RithmicEnv::Demo)?;
2020

2121
// Track subscriptions to restore after reconnect
2222
let mut subscriptions: HashSet<(String, String)> = HashSet::new();

0 commit comments

Comments
 (0)