comparison client/src/store/fairwayavailability.js @ 3411:f2e8f8beb913

console.log removed
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 23 May 2019 15:25:17 +0200
parents 7ea54c3b3fd6
children 6a044d6c2cdc
comparison
equal deleted inserted replaced
3410:e5bc8f4924cb 3411:f2e8f8beb913
202 const start = encodeURIComponent("00:00:00+00:00"); 202 const start = encodeURIComponent("00:00:00+00:00");
203 const end = encodeURIComponent("23:59:59+00:00"); 203 const end = encodeURIComponent("23:59:59+00:00");
204 const URL = `/data/${endpoint}/fairway-depth/${encodeURIComponent( 204 const URL = `/data/${endpoint}/fairway-depth/${encodeURIComponent(
205 name 205 name
206 )}?from=${from}T${start}&to=${to}T${end}&mode=${frequency}&los=${LOS}${additionalParams}`; 206 )}?from=${from}T${start}&to=${to}T${end}&mode=${frequency}&los=${LOS}${additionalParams}`;
207 console.log(URL);
208 HTTP.get(URL, { 207 HTTP.get(URL, {
209 headers: { "X-Gemma-Auth": localStorage.getItem("token") } 208 headers: { "X-Gemma-Auth": localStorage.getItem("token") }
210 }) 209 })
211 .then(response => { 210 .then(response => {
212 const { data } = response; 211 const { data } = response;