kopia lustrzana https://github.com/learn-awesome/learndb
return the fetchedContent instead of formattedResponse
rodzic
8cc6e36210
commit
2cdcfef121
|
@ -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 {
|
||||||
|
|
Ładowanie…
Reference in New Issue