Unifieng data

This commit is contained in:
Marco De Araujo 2025-12-22 16:36:33 -04:00
parent 0dc51af51c
commit 4ff103454e
7 changed files with 66 additions and 41 deletions

View file

@ -3,7 +3,7 @@ use crate::i18n::t;
use anyhow::{Context, Ok, Result};
pub fn parse_response(json_text: &str) -> Result<StatusPageResponse> {
let mut response: StatusPageResponse =
let response: StatusPageResponse =
serde_json::from_str(json_text).with_context(|| t("invalid-json-status-page"))?;
Ok(response)
}