Switch activator import to api-db2

master
Manuel Kasper 2024-02-21 11:23:29 +01:00
rodzic deb80e6f6f
commit 2dd49d86a1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -12,7 +12,7 @@ client.connect(err => {
});
async function importActivators(db) {
let response = await axios.get('https://api-db.sota.org.uk/admin/activator_roll?associationID=-1')
let response = await axios.get('https://api-db2.sota.org.uk/rolls/activator/-1/0/all/all')
// Weed out duplicate callsigns, keeping only the record with the higher number of points
let activators = new Map();