Skip to content

Commit

Permalink
JSONtoString
Browse files Browse the repository at this point in the history
  • Loading branch information
gboege committed Apr 21, 2024
1 parent 68d565b commit 0919bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ app.post('/portal', async (req, res) => {
for (var key in entity_keys) {
let attribute = {
attribute_name: key,
attribute_value: entity[key].toString()
attribute_value: JSON.toString(entity[key])
}
}
entity_attributes = Object.entries(entity)
Expand Down

0 comments on commit 0919bf7

Please sign in to comment.