[O] Fix indent

This commit is contained in:
Azalea Gui
2023-02-23 15:14:06 -05:00
parent ae9c7a482c
commit cfb8fb425c
+2 -1
View File
@@ -89,7 +89,8 @@ impl MyApp {
mtime: m.mtime() * 1000, mtime: m.mtime() * 1000,
size: m.len(), size: m.len(),
mime: if x.path().is_file() { self.generator.get_mime(&x.path()).ok() } else { None } mime: if x.path().is_file() { self.generator.get_mime(&x.path()).ok() } else { None }
})}).collect(); })
}).collect();
match serde_json::to_string(&paths) { match serde_json::to_string(&paths) {
Ok(json) => { json.resp(200) } Ok(json) => { json.resp(200) }