aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-09 16:30:10 +0200
committerneodarz <neodarz@neodarz.net>2019-08-09 16:30:10 +0200
commit0442a35ae73500dbc396956e7d52474b1b9360f4 (patch)
tree2a9911623a52fcb7da30a831c61e865443a60002
parent10d8284189cee70bc62f75add5cce218d89a07db (diff)
downloadumosapicpp-0442a35ae73500dbc396956e7d52474b1b9360f4.tar.xz
umosapicpp-0442a35ae73500dbc396956e7d52474b1b9360f4.zip
Fix some typos
-rw-r--r--api/umosapi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/umosapi.cpp b/api/umosapi.cpp
index 249cb90..83965a3 100644
--- a/api/umosapi.cpp
+++ b/api/umosapi.cpp
@@ -144,12 +144,12 @@ void UmosapiService::addUObject(const Rest::Request& request, Http::ResponseWrit
void UmosapiService::deleteUObject(const Rest::Request& request, Http::ResponseWriter response) {
- auto jsonObjet = json_object_new_object();
+ auto jsonObject = json_object_new_object();
- auto json_string = uobject::remove(request.param(":mcollection").as<string>(), request.param(":oid").as<string>(), jsonObjet);
+ auto json_string = uobject::remove(request.param(":mcollection").as<string>(), request.param(":oid").as<string>(), jsonObject);
response.send(Http::Code::Ok, json_string, MIME(Application, Json));
- json_object_put(jsonObjet);
+ json_object_put(jsonObject);
}
void UmosapiService::searchUObjectByKeyValue(const Rest::Request& request, Http::ResponseWriter response) {