From 0442a35ae73500dbc396956e7d52474b1b9360f4 Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 9 Aug 2019 16:30:10 +0200 Subject: Fix some typos --- api/umosapi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api') 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(), request.param(":oid").as(), jsonObjet); + auto json_string = uobject::remove(request.param(":mcollection").as(), request.param(":oid").as(), 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) { -- cgit v1.2.1