fix: removed useless functions
This commit is contained in:
parent
36b1b6c223
commit
4b1a899f05
1 changed files with 0 additions and 9 deletions
|
|
@ -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!(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue