New UUIDv4 Generator

This commit is contained in:
stephb9959
2021-11-15 11:34:30 -08:00
parent 6bc6dbec8d
commit 508c1c7cfd
7 changed files with 10 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ namespace OpenWifi{
// When creating an entity, it cannot have any relations other that parent, notes, name, description. Everything else
// must be conveyed through PUT.
NewEntity.info.id = (UUID==EntityDB::RootUUID()) ? UUID : MicroService::instance().CreateUUID();
NewEntity.info.id = (UUID==EntityDB::RootUUID()) ? UUID : MicroService::CreateUUID();
if(UUID==EntityDB::RootUUID()) {
NewEntity.parent="";