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

remove unnecessary code block

krunale368043dd63e
diff --git a/src/core_api.cpp b/src/core_api.cpp
index 26d2b5ca..e3afb1d2 100644
--- a/src/core_api.cpp
+++ b/src/core_api.cpp
@@ -2802,10 +2802,6 @@ bool put_conversation_model(const std::shared_ptr<http_req>& req, const std::sha
bool get_click_events(const std::shared_ptr<http_req>& req, const std::shared_ptr<http_res>& res) {
auto click_events = AnalyticsManager::get_instance().get_click_events();
- if(click_events.empty()) {
- res->set_200(click_events.dump());
- }
-
res->set_200(click_events.dump());
return true;
}