mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-09-01 23:20:44 +02:00
@@ -27,7 +27,7 @@ def fetch_alpr_surveillance_nodes(usOnly=True):
|
||||
raise RuntimeError(f"Failed to fetch data from Overpass API. Status code: {response.status_code}")
|
||||
|
||||
def fetch_wins_count():
|
||||
cms_url = "https://cms.deflock.me/items/flockWins"
|
||||
cms_url = "https://cms.deflock.me/items/flockWins?limit=-1"
|
||||
headers = {'User-Agent': DF_USER_AGENT}
|
||||
|
||||
response = requests.get(cms_url, headers=headers)
|
||||
|
||||
@@ -425,7 +425,7 @@ const headers = [
|
||||
const fetchRecentWins = async () => {
|
||||
loading.value = true;
|
||||
try {
|
||||
const response = await fetch('https://cms.deflock.me/items/flockWins');
|
||||
const response = await fetch('https://cms.deflock.me/items/flockWins?limit=-1');
|
||||
const result: CityRejection[] = (await response.json()).data;
|
||||
|
||||
const sortedResult = result.sort((a, b) => sortMonthYearByDateDesc(a.monthYear, b.monthYear));
|
||||
|
||||
Reference in New Issue
Block a user