diff --git a/internal/server/handle_api_sync.go b/internal/server/handle_api_sync.go index 45997d4..af363c1 100644 --- a/internal/server/handle_api_sync.go +++ b/internal/server/handle_api_sync.go @@ -28,7 +28,7 @@ func handleSync(bs *booking.Service) echo.HandlerFunc { bookingInfo := new(BookingInfo) err = json.Unmarshal(body, bookingInfo) if err != nil { - return c.String(http.StatusInternalServerError, fmt.Sprintf("error unmarshalling JSON: %w", err)) + return c.String(http.StatusInternalServerError, fmt.Sprintf("error unmarshalling JSON: %s", err)) } b, err := bs.ParseFromApi(bookingInfo.Content)