Difference between revisions of "Widget:DCTList"
From LINKS Community Center
Line 149: | Line 149: | ||
getQueryUrl('[[Category:Social media platform]]|?' + IMG_KEY) | getQueryUrl('[[Category:Social media platform]]|?' + IMG_KEY) | ||
).then(response => response.json()); | ).then(response => response.json()); | ||
− | |||
− | return Object.keys(results).map(platform => { | + | return Object.keys(sourceResponse.query.results).map(platform => { |
− | const img = results[platform].printouts[IMG_KEY][0]; | + | const img = sourceResponse.query.results[platform].printouts[IMG_KEY][0]; |
− | |||
return { | return { | ||
name: platform, | name: platform, |
Revision as of 09:41, 31 August 2022
Development verstion of the DCT List.
Not ready for production!