diff --git a/api/handlers/handlers1.js b/api/handlers/handlers1.js index b8e7f20..cd9c5fe 100644 --- a/api/handlers/handlers1.js +++ b/api/handlers/handlers1.js @@ -86,7 +86,7 @@ async function updateRecipientAddress(req, res) { value.amount = txValue; } - client.set(id, value, 'EX', keyLifeTime); + client.set(id, JSON.stringify(value), 'EX', keyLifeTime); console.log(value);