przystosowanie pod nowy format danych

This commit is contained in:
2023-02-15 19:05:30 +01:00
parent 132b5d5273
commit 30ce48bc02
4 changed files with 44 additions and 119 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export default defineComponent({
async created() {
const stockData = await (
await fetch(`https://spythere.github.io/api/td2/data/stockData.json?t=${Math.floor(Date.now() / 60000)}`)
await fetch(`https://spythere.github.io/api/td2/data/stockInfo.json?t=${Math.floor(Date.now() / 60000)}`)
).json();
this.store.stockData = stockData;