exports.endpoint = async function (request, response) {
const flightNumber = generateFlightNumber(request);
const gate = generateRandomGate(request);
const responseObject = [
{
title: "Discover the 3-2-1 Qatar Olympic and Sports Museum",
extract: "Get ready to embark on an inspiring and innovative journey through Qatar's sporting history and the global sports landscape.",
image: "https://www.discoverqatar.qa/images/3-2-1-qatar-olympic-and-sports-museum-1200x600/dq_hotel_slides/?m=nbf"
},
{
title: "Doha Beach Club Entry",
extract: "Embark on an unforgettable journey of beachside wonder at Doha Beach Club, nestled in Doha's vibrant West Bay area.",
image: "https://www.discoverqatar.qa/images/doha-beach-club-1-1200x600/dq_hotel_slides/?m=nbf"
}
];
response.setHeader('Content-Type', 'application/json');
response.status = 200
response.end(JSON.stringify(responseObject));
}