From 99bf1106f325b17ed4ae54dd4e7857e6c862a299 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 21 Aug 2024 17:06:44 +0200 Subject: [PATCH] Bug on Format date --- models/workflow/workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/workflow/workflow.go b/models/workflow/workflow.go index c66f153..ff53758 100644 --- a/models/workflow/workflow.go +++ b/models/workflow/workflow.go @@ -66,7 +66,7 @@ func (wfa *Workflow) CheckBooking(subPath string, caller *tools.HTTPCaller) (boo } subPath = strings.ReplaceAll(subPath, ":start_date", wfa.getFormat(wfa.Schedule.Start)) subPath = strings.ReplaceAll(subPath, ":end_date", wfa.getFormat(&e)) - _, err = p.(*peer.Peer).LaunchPeerExecution(peerID, "", p.(*peer.Peer).Url, utils.BOOKING, tools.POST, nil, caller) + _, err = p.(*peer.Peer).LaunchPeerExecution(peerID, "", p.(*peer.Peer).Url+subPath, utils.BOOKING, tools.GET, nil, caller) if err != nil { return false, err }