From 13486960d29963bfd914b6a85888143c48064ec5 Mon Sep 17 00:00:00 2001 From: alufers Date: Tue, 18 Jun 2024 21:45:12 +0200 Subject: [PATCH] Fix poczta-polska wsdl endpoint Remove ?wsdl (they changed something on their side and it breaks the thing) --- providers/pocztapolska/poczta_polska_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/pocztapolska/poczta_polska_provider.go b/providers/pocztapolska/poczta_polska_provider.go index 6256fae..856701f 100644 --- a/providers/pocztapolska/poczta_polska_provider.go +++ b/providers/pocztapolska/poczta_polska_provider.go @@ -58,7 +58,7 @@ func EscapeXML(d string) string { func (ip *PocztaPolskaProvider) Track(ctx context.Context, trackingNumber string) (*commondata.TrackingData, error) { client := httphelpers.NewClientWithLogger() - req, err := http.NewRequestWithContext(ctx, "POST", "https://tt.poczta-polska.pl/Sledzenie/services/Sledzenie?wsdl", strings.NewReader(fmt.Sprintf(` + req, err := http.NewRequestWithContext(ctx, "POST", "https://tt.poczta-polska.pl/Sledzenie/services/Sledzenie", strings.NewReader(fmt.Sprintf(`