rename data_store to datastore

This commit is contained in:
Dietmar Maurer
2018-12-08 14:51:08 +01:00
parent 6ce50400c5
commit 567713b4c3
3 changed files with 8 additions and 2 deletions

View File

@ -5,8 +5,14 @@ use crate::api::schema::*;
use crate::api::router::*;
use serde_json::{json, Value};
use crate::config::datastore;
fn datastore_list(param: Value, _info: &ApiMethod) -> Result<Value, Error> {
println!("This is a test {}", param);
let config = datastore::config().unwrap();
Ok(json!({}))
}