Update Resource
This commit is contained in:
@@ -63,7 +63,7 @@ func (wfa *WorkflowMongoAccessor) UpdateOne(set utils.DBObject, id string) (util
|
||||
if code, err := wfa.execution(set.(*Workflow), true); err != nil {
|
||||
return nil, code, err
|
||||
}
|
||||
return wfa.GenericUpdateOne(set, id, wfa)
|
||||
return wfa.GenericUpdateOne(set, id, wfa, &Workflow{})
|
||||
}
|
||||
|
||||
func (wfa *WorkflowMongoAccessor) StoreOne(data utils.DBObject) (utils.DBObject, int, error) {
|
||||
|
Reference in New Issue
Block a user