diff options
author | neodarz <neodarz@neodarz.net> | 2019-08-09 16:30:10 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-08-09 16:30:10 +0200 |
commit | 0442a35ae73500dbc396956e7d52474b1b9360f4 (patch) | |
tree | 2a9911623a52fcb7da30a831c61e865443a60002 /api/umosapi.cpp | |
parent | 10d8284189cee70bc62f75add5cce218d89a07db (diff) | |
download | umosapicpp-0442a35ae73500dbc396956e7d52474b1b9360f4.tar.xz umosapicpp-0442a35ae73500dbc396956e7d52474b1b9360f4.zip |
Fix some typos
Diffstat (limited to 'api/umosapi.cpp')
-rw-r--r-- | api/umosapi.cpp | 6 |
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) { |