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 typo for create event response (#1800)

Krunal Gandhi4c2b5d328fd5
diff --git a/src/core_api.cpp b/src/core_api.cpp
index 76971232..dd6249c6 100644
--- a/src/core_api.cpp
+++ b/src/core_api.cpp
@@ -2753,7 +2753,7 @@ bool post_create_event(const std::shared_ptr<http_req>& req, const std::shared_p
auto add_event_op = EventManager::get_instance().add_event(req_json, req->client_ip);
if(add_event_op.ok()) {
- res->set_201(R"({"ok": true)");
+ res->set_201(R"({"ok": true})");
return true;
}