aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-11 16:47:08 +0200
committerneodarz <neodarz@neodarz.net>2019-09-11 16:47:08 +0200
commit856e37f89bf103b1d78f4f8a38a10fb3f42ed4b4 (patch)
tree824d52624e65e880e450ab78198436af78d03b92
parent7e335d504f2a98f828542979c1189dd680231af8 (diff)
downloadumosapicpp-856e37f89bf103b1d78f4f8a38a10fb3f42ed4b4.tar.xz
umosapicpp-856e37f89bf103b1d78f4f8a38a10fb3f42ed4b4.zip
Update uobject definition
-rw-r--r--api/umosapi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/umosapi.cpp b/api/umosapi.cpp
index 5c8717a..6343f20 100644
--- a/api/umosapi.cpp
+++ b/api/umosapi.cpp
@@ -264,8 +264,8 @@ void UmosapiService::Api::createResource() {
UmosapiService::Api::scheme("https");
UmosapiService::Api::definition("UObject", "object");
- UmosapiService::Api::propertie("id", "int64", "integer", "true");
- UmosapiService::Api::propertie("value", "string", "object", "true");
+ UmosapiService::Api::propertie("_id", "mongoid", "object", "true");
+ UmosapiService::Api::propertie("datas", "string", "object", "true");
UmosapiService::Api::definition("UObjectSended", "object");