# HG changeset patch # User Sascha L. Teichmann # Date 1589291922 -7200 # Node ID 1a17b27d0aa97bef89b2d529569083e5803c6218 # Parent 158a26bcb2af7543d1a4aff222c8c96a746634ec# Parent 2f513505bc88608bd273570eda2e66875c1cf3eb Merged. diff -r 158a26bcb2af -r 1a17b27d0aa9 client/src/store/fairwayavailability.js --- a/client/src/store/fairwayavailability.js Tue May 12 15:58:19 2020 +0200 +++ b/client/src/store/fairwayavailability.js Tue May 12 15:58:42 2020 +0200 @@ -276,7 +276,7 @@ } const start = encodeURIComponent("00:00:00+00:00"); const end = encodeURIComponent("23:59:59+00:00"); - const URL = `data/${endpoint}/fairway/${encodeURIComponent( + const URL = `data/fairway/${endpoint}/${encodeURIComponent( name )}?from=${from}T${start}&to=${to}T${end}&mode=${frequency}&los=${LOS}${additionalParams}`; HTTP.get(URL, { @@ -321,7 +321,7 @@ } else if (type == TYPES.SECTION || type == TYPES.STRETCH) { additionalParams = `&depthbreaks=${depthLimit1},${depthLimit2}&widthbreaks=${widthLimit1},${widthLimit2}`; } - const URL = `data/${endpoint}/availability/${encodeURIComponent( + const URL = `data/availability/${endpoint}/${encodeURIComponent( name )}?from=${from}T${start}&to=${to}T${end}&mode=${frequency}&los=${LOS}${additionalParams}`; HTTP.get(URL, {