kopia lustrzana https://github.com/manuelkasper/sotlas-api
Switch activator import to api-db2
rodzic
deb80e6f6f
commit
2dd49d86a1
|
@ -12,7 +12,7 @@ client.connect(err => {
|
||||||
});
|
});
|
||||||
|
|
||||||
async function importActivators(db) {
|
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
|
// Weed out duplicate callsigns, keeping only the record with the higher number of points
|
||||||
let activators = new Map();
|
let activators = new Map();
|
||||||
|
|
Ładowanie…
Reference in New Issue