aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-08 19:09:04 +0200
committerneodarz <neodarz@neodarz.net>2019-08-08 19:09:04 +0200
commitdbb8f177d5bc28bb2a51be4d3b9344e08fd869f6 (patch)
tree0bc2376f03cf5d32de60cabecb943ff4c50dc254
parent85e1431aa382f721e3b51804ca0b00ab063553ef (diff)
downloadumosapicpp-dbb8f177d5bc28bb2a51be4d3b9344e08fd869f6.tar.xz
umosapicpp-dbb8f177d5bc28bb2a51be4d3b9344e08fd869f6.zip
Fix indentation
-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];