return the fetchedContent instead of formattedResponse

pull/73/head
Huda Joad 2023-11-23 19:30:37 +03:00
rodzic 8cc6e36210
commit 2cdcfef121
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -80,7 +80,7 @@ export async function handler(event) {
// Return the formatted response // Return the formatted response
return { return {
statusCode: 200, statusCode: 200,
body: JSON.stringify(formattedResponse), body: JSON.stringify(fetchedContent),
}; };
} catch (error) { } catch (error) {
return { return {