Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 28: Line 28:
 
         async function getDcts() {
 
         async function getDcts() {
 
             const dctQuery = '/api.php?action=ask&format=json&query=' + encodeURIComponent('[[Category:Disaster Community Technology]]');
 
             const dctQuery = '/api.php?action=ask&format=json&query=' + encodeURIComponent('[[Category:Disaster Community Technology]]');
             const dctResponse = await fetch(sourceQuery).then(response => response.json());
+
             const dctResponse = await fetch(dctQuery).then(response => response.json());
 
             console.log(dctResponse);
 
             console.log(dctResponse);
 
         }
 
         }

Revision as of 14:45, 2 June 2022

Development verstion of the DCT List.
Not ready for production!