fix(kiosk): return None after ignoring bf_kiosk_deleted

After _check confirms key still valid, code fell through to parse
the bf_kiosk_deleted JSON as a KioskBundle causing parse error.
Now returns None to skip bundle processing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mitchell R 2026-05-26 05:44:32 +02:00
parent 1cf77f55c9
commit 26a9df6b11
No known key found for this signature in database

View file

@ -405,6 +405,7 @@ pub fn fetch_bundle(server: &str, key: &str) -> Option<KioskBundle> {
wipe_and_restart();
}
tracing::info!("_check says key still valid, ignoring bf_kiosk_deleted");
return None;
}
match serde_json::from_str::<KioskBundle>(&text) {