[bugfix] list_countdown now sorts the returned vector because hashmap iteration is not stable

This commit is contained in:
2026-03-01 19:45:52 +01:00
parent fa0541744f
commit fcb2fbf30e

View File

@@ -71,6 +71,7 @@ impl CountdownService {
target_instant: countdown.target_timestamp(),
})
}
snapshots.sort_by(|a, b| a.id.cmp(&b.id));
Ok(snapshots)
}