Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Fix type of API key ID returned in the delete end-point.

kishorencccf97727a5a8
diff --git a/src/core_api.cpp b/src/core_api.cpp
index 88881ddf..56efeec7 100644
--- a/src/core_api.cpp
+++ b/src/core_api.cpp
@@ -952,7 +952,7 @@ bool del_key(http_req &req, http_res &res) {
}
nlohmann::json res_json;
- res_json["id"] = req.params["id"];
+ res_json["id"] = del_op.get().id;
res.set_200(res_json.dump());
return true;