fix: removed useless functions

This commit is contained in:
Alzalia 2025-09-04 19:14:18 +02:00
parent 36b1b6c223
commit 4b1a899f05

View file

@ -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<String> {
// let mut file = File::open(path)?;
// let mut contents = String::new();
// file.read_to_string(&mut contents)?;
// Ok(contents)
// }
fn return_error() -> Json<Value> {
Json(json!(
{