Update flatten object
This commit is contained in:
@@ -28,7 +28,7 @@ func (wfa *WorkflowResourceMongoAccessor) CopyOne(data utils.DBObject) (utils.DB
|
||||
return wfa.GenericStoreOne(data, wfa)
|
||||
} else {
|
||||
data.(*WorkflowResource).UUID = res.GetID()
|
||||
return wfa.GenericUpdateOne(data.Serialize(), res.GetID(), wfa)
|
||||
return wfa.GenericUpdateOne(data, res.GetID(), wfa)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user