checking if it works without stringify

pull/73/head
Huda Joad 2023-11-25 00:29:46 +03:00
rodzic a9a0d26746
commit ff46e8f8bb
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -105,7 +105,8 @@ export async function handler(event) {
// Return the formatted response // Return the formatted response
return { return {
statusCode: 200, statusCode: 200,
body: JSON.stringify(simplifiedContent), body: simplifiedContent,
// body: JSON.stringify(simplifiedContent),
}; };
} catch (error) { } catch (error) {
console.error('Error occurred:', error.message); console.error('Error occurred:', error.message);