diff --git a/src/module/bm/header.rs b/src/module/bm/header.rs index bbd35d43..33d4c0b6 100644 --- a/src/module/bm/header.rs +++ b/src/module/bm/header.rs @@ -1,18 +1,15 @@ use storage::file::FileHeaderSpec as FHS; pub fn get_spec() -> FHS { - FHS::Array { - allowed_types: vec![FHS::Map { - keys: vec![ - FHS::Key { name: "ID", value_type: Box::new(FHS::Text) }, - FHS::Key { name: "URL", value_type: Box::new(FHS::Text) }, - FHS::Key { name: "TAGS", - value_type: Box::new(FHS::Array { - allowed_types: vec![FHS::Text] - }), - }, - ], - }], + FHS::Map { + keys: vec![ + FHS::Key { name: "URL", value_type: Box::new(FHS::Text) }, + FHS::Key { name: "TAGS", + value_type: Box::new(FHS::Array { + allowed_types: vec![FHS::Text] + }), + }, + ], } }