diff --git a/src/actions/SuppliersActions.js b/src/actions/SuppliersActions.js index 035e9f0a..af87be7a 100644 --- a/src/actions/SuppliersActions.js +++ b/src/actions/SuppliersActions.js @@ -150,8 +150,6 @@ SuppliersActions.uploadFiles = (files, providerId) => async ( ) => { dispatch(sendData(0, types.UPDATED_FILE_UPLOAD_PROGRESS)); - console.log('uploadFiles - Files to upload', files); - const url = `${window.config.timetableAdminBaseUrl}${providerId}/files`; var data = new FormData(); @@ -187,15 +185,13 @@ SuppliersActions.uploadFiles = (files, providerId) => async ( }); }; -SuppliersActions.uploadTariffZonesFiles = (files, providerId) => async ( +SuppliersActions.uploadTariffZonesFiles = (files, provider) => async ( dispatch, getState ) => { dispatch(sendData(0, types.UPDATED_TARIFF_ZONE_FILE_UPLOAD_PROGRESS)); - console.log('uploadTariffZonesFiles - Files to upload', files); - - const url = `${window.config.tariffZonesUrl}SOF/files`; + const url = `${window.config.tariffZonesUrl}${provider.chouetteInfo.xmlns}/files`; var data = new FormData(); diff --git a/src/app/components/Header.js b/src/app/components/Header.js index e29a3be7..bdf53890 100644 --- a/src/app/components/Header.js +++ b/src/app/components/Header.js @@ -1,3 +1,19 @@ +/* + * Licensed under the EUPL, Version 1.2 or – as soon they will be approved by + * the European Commission - subsequent versions of the EUPL (the "Licence"); + * You may not use this work except in compliance with the Licence. + * You may obtain a copy of the Licence at: + * + * https://joinup.ec.europa.eu/software/page/eupl + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the Licence is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the Licence for the specific language governing permissions and + * limitations under the Licence. + * + */ + import React from 'react'; import { connect } from 'react-redux'; import AppBar from 'material-ui/AppBar';