From 2dd49d86a1c689f857b0ec49936960efb049576f Mon Sep 17 00:00:00 2001 From: Manuel Kasper Date: Wed, 21 Feb 2024 11:23:29 +0100 Subject: [PATCH] Switch activator import to api-db2 --- jobs/importActivators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/importActivators.js b/jobs/importActivators.js index 5578e84..194b6d3 100644 --- a/jobs/importActivators.js +++ b/jobs/importActivators.js @@ -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();