Fix wrong type for object version

refs #10355
This commit is contained in:
Michael Friedrich 2015-10-15 11:10:46 +02:00
parent 4f647527fd
commit a0631cd351
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ Value ApiListener::ConfigUpdateObjectAPIHandler(const MessageOrigin::Ptr& origin
}
/* update the object */
double objVersion = Convert::ToLong(params->Get("version"));
double objVersion = params->Get("version");
ConfigType::Ptr dtype = ConfigType::GetByName(objType);