v1.3.26: sem_acento também no turno (manhã→manha)
This commit is contained in:
@@ -106,7 +106,7 @@ impl SupabaseClient {
|
||||
let turno = estado
|
||||
.get("turno")
|
||||
.and_then(|v| v.as_str())
|
||||
.map(|s| s.to_lowercase())
|
||||
.map(|s| sem_acento(&s.to_lowercase()))
|
||||
.unwrap_or_else(|| "manha".to_string());
|
||||
|
||||
let payload = serde_json::json!({
|
||||
|
||||
Reference in New Issue
Block a user