Renamed types

This commit is contained in:
2026-08-05 05:22:31 +02:00
parent cfa33e11cc
commit b3e05804ec
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
pub mod executor;
pub mod launch;
pub mod types;
use futures_util::{SinkExt, StreamExt};
use serde_json::json;
@@ -17,7 +17,7 @@ async fn main() -> anyhow::Result<()> {
while let Some(msg) = ws.next().await {
let msg = msg?;
if let tokio_tungstenite::tungstenite::Message::Text(text) = msg {
let token: launch::PumpDevEvent = serde_json::from_str(&text)?;
let token: types::PumpDevEvent = serde_json::from_str(&text)?;
println!("{:?}", token);
}
}
View File