Skip to content

Commit 918b83e

Browse files
committed
stringify body
1 parent d87c137 commit 918b83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const handler: Handler = async (payload: Payload) => {
1414
throw error;
1515
}
1616
// Make the HTTP request using Axios
17-
const response = await axios.post(apiUrl, data, {
17+
const response = await axios.post(apiUrl, JSON.stringify(data), {
1818
headers: headers,
1919
});
2020

0 commit comments

Comments
 (0)