diff options
author | neodarz <neodarz@neodarz.net> | 2019-09-11 16:47:08 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-09-11 16:47:08 +0200 |
commit | 856e37f89bf103b1d78f4f8a38a10fb3f42ed4b4 (patch) | |
tree | 824d52624e65e880e450ab78198436af78d03b92 /api/umosapi.cpp | |
parent | 7e335d504f2a98f828542979c1189dd680231af8 (diff) | |
download | umosapicpp-856e37f89bf103b1d78f4f8a38a10fb3f42ed4b4.tar.xz umosapicpp-856e37f89bf103b1d78f4f8a38a10fb3f42ed4b4.zip |
Update uobject definition
Diffstat (limited to 'api/umosapi.cpp')
-rw-r--r-- | api/umosapi.cpp | 4 |
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"); |