Fix: as_deref -> as_ref for String
Some checks are pending
Botlib CI / build (push) Waiting to run
BotServer CI / build (push) Waiting to run
Bottest CI / build (push) Waiting to run
BotUI CI / build (push) Waiting to run

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-27 21:03:23 -03:00
parent 12e4d1bd21
commit 6636f376f2

View file

@ -213,7 +213,7 @@ pub fn get_switchers(
debug!("get_switchers: Retrieved {} switchers from Redis key '{}' for session {}",
switchers.len(), redis_key, session_id);
for sw in &switchers {
debug!(" - Switcher: id={}, label={}", sw.id, sw.label.as_deref().unwrap_or(""));
debug!(" - Switcher: id={}, label={}", sw.id, sw.label.as_ref().unwrap_or(""));
}
}
Err(e) => {