mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 21:26:33 +00:00
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:
parent
1cf77f55c9
commit
26a9df6b11
1 changed files with 1 additions and 0 deletions
|
|
@ -405,6 +405,7 @@ pub fn fetch_bundle(server: &str, key: &str) -> Option<KioskBundle> {
|
||||||
wipe_and_restart();
|
wipe_and_restart();
|
||||||
}
|
}
|
||||||
tracing::info!("_check says key still valid, ignoring bf_kiosk_deleted");
|
tracing::info!("_check says key still valid, ignoring bf_kiosk_deleted");
|
||||||
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
match serde_json::from_str::<KioskBundle>(&text) {
|
match serde_json::from_str::<KioskBundle>(&text) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue