kopia lustrzana https://github.com/learn-awesome/learndb
updated the return for testing
rodzic
1905bd7d39
commit
fbf55af8b0
|
@ -122,7 +122,8 @@ export async function handler(event) {
|
||||||
// Return the formatted response
|
// Return the formatted response
|
||||||
return {
|
return {
|
||||||
statusCode: 200,
|
statusCode: 200,
|
||||||
body: JSON.stringify(fetchedContent),
|
body: fetchedContent,
|
||||||
|
// body: JSON.stringify(fetchedContent),
|
||||||
// body: JSON.stringify(formattedResponse),
|
// body: JSON.stringify(formattedResponse),
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Ładowanie…
Reference in New Issue