id on peer

This commit is contained in:
mr 2024-08-20 12:59:50 +02:00
parent 392cf1cf1a
commit fbf4040f63

View File

@ -97,9 +97,6 @@ func (wfa *workflowMongoAccessor) book(id string, realData *Workflow, execs []*w
return errors.New("could not load workflow")
}
r := res.(*Workflow)
if realData.Schedule == nil && r.Schedule == nil {
return nil
}
g := r.Graph
if realData.Graph != nil {
g = realData.Graph