implement remote call for remote action

This commit is contained in:
mr 2024-08-12 16:23:52 +02:00
parent 5986d73367
commit f4603e4171

View File

@ -101,7 +101,7 @@ func (wfa *workflowMongoAccessor) book(id string, realData *Workflow, execs []*w
} }
// CHECK BOOKING // CHECK BOOKING
url := dc.(*datacenter.DatacenterResource).SourceUrl url := dc.(*datacenter.DatacenterResource).SourceUrl
resp, err := wfa.Caller.CallPost(url, wfa.Caller.OriginSubPath, (&workflow_execution.WorkflowExecutions{ resp, err := wfa.Caller.CallPost(url, wfa.Caller.DestSubPath, (&workflow_execution.WorkflowExecutions{
Executions: execs, Executions: execs,
}).Serialize()) }).Serialize())
if err != nil { if err != nil {