aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--db/uobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/uobject.cpp b/db/uobject.cpp
index 59a5b0b..ce685b3 100644
--- a/db/uobject.cpp
+++ b/db/uobject.cpp
@@ -19,7 +19,7 @@ std::string uobject::retrieveAll(std::string collection, struct json_object* jso
}
std::string uobject::add(std::string collection, struct json_object* jsonObject, const char * body) {
-auto conn = mongo.get_connection();
+ auto conn = mongo.get_connection();
auto coll = (*conn)[config["mongo_db"]][collection];