mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-10-21 14:01:38 +02:00
1 parent
ac6a79f29a
commit
74a09421dc
2 files changed
+2
-2
No files matched your search
@@ -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