m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-08 05:03:49 -05:00

Revert a dbg that was accidentally committed

This commit is contained in:
Sergio
2025-02-28 17:33:24 +02:00
parent 4caa117a4e
commit d841861752

View File

@@ -51,10 +51,7 @@ async fn get_remote_updates(ctx: &Context, client: &Client, refresh: bool) -> Ve
if let Some(updates) = json["images"].as_array() {
let mut server_updates: Vec<Update> = updates
.iter()
.filter_map(|img| match serde_json::from_value(img.clone()) {
Ok(o) => o,
Err(e) => {dbg!(e);None}
})
.filter_map(|img| serde_json::from_value(img.clone()).ok())
.collect();
// Add server origin to each image
for update in &mut server_updates {