about summary refs log tree commit diff
path: root/src/micropub/get.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-05-09 18:04:23 +0300
committerVika <vika@fireburn.ru>2021-05-09 18:04:23 +0300
commitd50e6e54975a3a39ebfb252676d7f7857d588cab (patch)
tree4df16a374cdeb4047d80e05b1a678f91f68d9ff9 /src/micropub/get.rs
parent002dc24c1440ad1d1fab0fc901fb0d6ff457b7a2 (diff)
downloadkittybox-d50e6e54975a3a39ebfb252676d7f7857d588cab.tar.zst
More descriptive error handling and more descriptive TODOs
Diffstat (limited to 'src/micropub/get.rs')
-rw-r--r--src/micropub/get.rs2
1 files changed, 2 insertions, 0 deletions
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",