const axios = require('axios');

module.exports = async function() {

  const galleries = await axios.get('https://galleries.ticklethepanda.co.uk/', {
    headers: {
      "Cache-Control": "no-store"
    }
  });

  console.log(JSON.stringify(galleries.data, null, 2));

  return galleries.data;
}

@@ -212,86 +212,296 @@
 %0A%0A  
-console.log(JSON.stringify(galleries.data, null, 2));%0A%0A  return galleries.data;%0A
+printGalleryInfo(galleries.data);%0A%0A  return galleries.data;%0A%7D%0A%0Afunction printGalleryInfo(galleries) %7B%0A  console.log(%22Galleries fetched:%22)%0A  for (let gallery of galleries.galleries) %7B%0A    console.log(%60 - $%7Bgallery.name%7D ($%7Bgallery.ref%7D) %7C $%7Bgallery.images.map(i =%3E i.name).join(', ')%7D%60);%0A  
 %7D%0A
+%7D

Improve galleries info output