debug logs
This commit is contained in:
@@ -63,10 +63,10 @@ func (wfa *WorkflowMongoAccessor) execution(realData *Workflow, delete bool) (in
|
||||
}
|
||||
|
||||
func (wfa *WorkflowMongoAccessor) UpdateOne(set utils.DBObject, id string) (utils.DBObject, int, error) {
|
||||
fmt.Println(set.Serialize())
|
||||
if code, err := wfa.execution(set.(*Workflow), true); err != nil {
|
||||
return nil, code, err
|
||||
}
|
||||
fmt.Println(set.Serialize())
|
||||
return wfa.GenericUpdateOne(set, id, wfa, &Workflow{})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user