commit 56ffec40f4cbc79afdeca13634d9b9f6fed04143
parent 96c2416903b211433c67f1a19f78a10421cd61e6
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Thu, 15 Jul 2021 21:52:17 +0200
Formatting
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/api/web.rs b/src/api/web.rs
@@ -4,7 +4,11 @@ use rocket::{http::ContentType, response::content::Content, response::NamedFile,
use rocket_contrib::json::Json;
use serde_json::Value;
-use crate::{CONFIG, error::Error, util::{Cached, SafeString}};
+use crate::{
+ error::Error,
+ util::{Cached, SafeString},
+ CONFIG,
+};
pub fn routes() -> Vec<Route> {
// If addding more routes here, consider also adding them to