diff --git a/server.js b/server.js index 5bd0764..ee4e592 100644 --- a/server.js +++ b/server.js @@ -697,7 +697,7 @@ app.post('/portal', async (req, res) => { for (var key in entity_keys) { let attribute = { attribute_name: key, - attribute_value: JSON.toString(entity[key]) + attribute_value: entity[key].value } } entity_attributes = Object.entries(entity)