mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
zmiana API do pobierania informacji o wspierających
This commit is contained in:
@@ -310,8 +310,8 @@ export const useStore = defineStore('store', {
|
||||
|
||||
async fetchDonatorsData() {
|
||||
try {
|
||||
const response = await axios.get<GithubAPI.Donators.Response>(
|
||||
'https://raw.githubusercontent.com/Spythere/api/main/td2/data/donators.json'
|
||||
const response = await axios.get<API.Donators.Response>(
|
||||
`${URLs.stacjownikAPI}/api/getDonators`
|
||||
);
|
||||
|
||||
if (response.data) this.donatorsData = response.data;
|
||||
|
||||
Reference in New Issue
Block a user