Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
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 08:41, 31 August 2022
Development verstion of the DCT List.
Not ready for production!