add sets up

This commit is contained in:
mr
2025-06-20 10:47:33 +02:00
parent 8b38249df7
commit 181b3249b8
7 changed files with 93 additions and 219 deletions

View File

@@ -261,7 +261,6 @@ func (r *Request) Schedule(wfID string, scheduler *workflow_execution.WorkflowSc
if err != nil {
return nil, err
}
fmt.Println("BAM", ws)
return ws, nil
}
@@ -279,19 +278,6 @@ func (r *Request) CheckBooking(wfID string, start string, end string, durationIn
return ok
}
func (r *Request) DraftOrder(scheduler *workflow_execution.WorkflowSchedule) (*order.Order, error) {
o := &order.Order{}
/*if err := o.DraftOrder(scheduler, &tools.APIRequest{
Caller: r.caller,
Username: r.user,
PeerID: r.peerID,
Groups: r.groups,
}); err != nil {
return nil, err
}*/
return o, nil
}
func (r *Request) PaymentTunnel(o *order.Order, scheduler *workflow_execution.WorkflowSchedule) error {
/*return o.Pay(scheduler, &tools.APIRequest{
Caller: r.caller,