Skip to content

Commit

Permalink
working on build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark van der Steenhoven committed Oct 30, 2023
1 parent ec8d369 commit 7bba62c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion data/cities.json

This file was deleted.

1 change: 0 additions & 1 deletion dist/cities.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/getCities.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { City } from './types/city';
import { writeFileSync } from 'fs';

const FILE_PATH = 'data/cities.json';
const FILE_PATH = 'src/cities.json';
export const getCitiesDataToJson = async (): Promise<void> => {
const response = await fetch('https://opendata.cbs.nl/ODataApi/OData/85516NED/Woonplaatsen');
const json = await response.json();
Expand Down

0 comments on commit 7bba62c

Please sign in to comment.