Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MinThaMie committed Aug 16, 2023
2 parents a1c3519 + 810a589 commit 435ae8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 53 deletions.
47 changes: 0 additions & 47 deletions app/data/manual-stations.js
Original file line number Diff line number Diff line change
@@ -1,51 +1,4 @@
export const manualStations = [
{
name: 'Amersfoort',
street: 'De Windturbine',
streetnr: '1',
zip: '3815',
city: 'Amersfoort',
image: null,
latitude: '52.163627',
longitude: '5.424038',
operatorname: 'Fountain Fuel',
operatorlogo: null,
hostname: null,
countryshortname: 'NL',
funding: null,
statusMessage:
'Station is conditional open. Data is entered manualy for now',
status_unknown: false,
progress_percent: '23',
progress_description: 'At the planning stage',
progress_extratext: null,
date_commissioning_message: null,
activity_message: null,
openinghours_nextchange_message: null,
price_message: 'EUR 18,95',
has_700_small: 't',
has_350_large: 't',
has_350_small: 't',
opening_hours: 'Open 24/7',
fundingpage: '',
news: null,
paymenttypes: [
{
name: 'creditcard',
apiname: 'CC',
descr: 'Credit card',
page: null,
directurl: null,
},
{
name: 'debit',
apiname: 'DEBIT',
descr: 'Debit card',
page: null,
directurl: null,
},
],
},
{
name: 'Vissers Energy',
// price_message: 'EUR 19.50*',
Expand Down
12 changes: 6 additions & 6 deletions netlify/functions/stations.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/* eslint-disable */
const fetch = require('node-fetch');

const ALL_700_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/masterlist?fuel_type=P700_SMALL&language=de&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22';
const ALL_700_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/masterlist?fuel_type=P700_SMALL&language=en&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22';

const ALL_350_SMALL_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/masterlist?fuel_type=P350_SMALL&language=de&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22';
const ALL_350_SMALL_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/masterlist?fuel_type=P350_SMALL&language=en&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22';

const ALL_350_LARGE_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/masterlist?fuel_type=P350_LARGE&language=de&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22';
const ALL_350_LARGE_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/masterlist?fuel_type=P350_LARGE&language=en&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22';

const STATUS_700_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/statuslist?fuel_type=P700_SMALL&language=de&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22'
const STATUS_700_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/statuslist?fuel_type=P700_SMALL&language=en&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22'

const STATUS_350_SMALL_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/statuslist?fuel_type=P350_SMALL&language=de&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22'
const STATUS_350_SMALL_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/statuslist?fuel_type=P350_SMALL&language=en&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22'

const STATUS_350_LARGE_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/statuslist?fuel_type=P350_LARGE&language=de&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22'
const STATUS_350_LARGE_API_ENDPOINT = 'https://fuelstations.h2-api.live/v1/fuelstation/statuslist?fuel_type=P350_LARGE&language=en&__show_permclosed__=1&__t__=b13831e6243b9bcd4c74aeda55c1fe22'

exports.handler = async (event, context) => {
try {
Expand Down

0 comments on commit 435ae8b

Please sign in to comment.