From 4b1a899f0546e517a19009017a4509b1a3be9b9e Mon Sep 17 00:00:00 2001 From: Alzalia Date: Thu, 4 Sep 2025 19:14:18 +0200 Subject: [PATCH] fix: removed useless functions --- src/json_routes.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/json_routes.rs b/src/json_routes.rs index 7f2118d..4731eb1 100644 --- a/src/json_routes.rs +++ b/src/json_routes.rs @@ -1,5 +1,3 @@ -// use std::{fs::File, io::Read}; - use axum::{Json, extract::Path}; use serde_json::{Value, json}; @@ -7,13 +5,6 @@ use serde_json::{Value, json}; // =====< UTILS >===== // =================== -// fn read_json(path: &str) -> std::io::Result { -// let mut file = File::open(path)?; -// let mut contents = String::new(); -// file.read_to_string(&mut contents)?; -// Ok(contents) -// } - fn return_error() -> Json { Json(json!( {