diff options
author | Mario Krehl <mario-krehl@gmx.de> | 2017-12-10 13:10:46 +0100 |
---|---|---|
committer | Mario Krehl <mario-krehl@gmx.de> | 2017-12-10 13:10:46 +0100 |
commit | 85793759dac22ab9a40065f57d426c73beefbebb (patch) | |
tree | 854e815fba2f4e4c2edcaa60047a4d8b51075d8a | |
parent | 050478866508fa7c0033c9b05110d311a9d5b00f (diff) |
Implement /search
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 676d7e1..5a42ae2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -53,7 +53,7 @@ fn search(data : Json<Search>, config: State<Config>) -> Json<SearchResponse> { #[post("/query", format = "application/json", data = "<data>")] fn query(data: Json<Query>, config: State<Config>) -> Result<Json<QueryResponse>> { - + Err(Error::from("not implemented")) } fn main() { |