From 856e37f89bf103b1d78f4f8a38a10fb3f42ed4b4 Mon Sep 17 00:00:00 2001 From: neodarz Date: Wed, 11 Sep 2019 16:47:08 +0200 Subject: Update uobject definition --- api/umosapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api') 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"); -- cgit v1.2.1