From d50e6e54975a3a39ebfb252676d7f7857d588cab Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 9 May 2021 18:04:23 +0300 Subject: More descriptive error handling and more descriptive TODOs --- src/micropub/get.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/micropub/get.rs') diff --git a/src/micropub/get.rs b/src/micropub/get.rs index 2b367fd..e106883 100644 --- a/src/micropub/get.rs +++ b/src/micropub/get.rs @@ -64,6 +64,8 @@ where })).build()) } }, + // TODO: ?q=food, ?q=geo, ?q=contacts + // Depends on indexing posts // Errors "" => Ok(Response::builder(400).body(json!({ "error": "invalid_request", -- cgit 1.4.1