mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-13 17:50:59 +00:00
chore(mock): updated api mock endpoints
This commit is contained in:
@@ -19,7 +19,7 @@ async function main() {
|
||||
if (!existsSync('endpoints')) await mkdir('endpoints');
|
||||
|
||||
Promise.all(
|
||||
['getActiveData', 'getDonators', 'getSceneries', 'getVehicles'].map((endpointName) =>
|
||||
['getActiveData', 'getDonators', 'getSceneries', 'getVehiclesData'].map((endpointName) =>
|
||||
fetchJSONEndpointData(
|
||||
`https://stacjownik.spythere.eu/api/${endpointName}`,
|
||||
`${endpointName}.json`
|
||||
|
||||
Reference in New Issue
Block a user