diff --git a/src/liquidationPools.js b/src/liquidationPools.js index 7decb7d..0143ab6 100644 --- a/src/liquidationPools.js +++ b/src/liquidationPools.js @@ -20,7 +20,7 @@ const getDBData = async userAddress => { let result = []; const client = await pool.connect(); try { - result = (await client.query('SELECT snapshot_at, tst, euros, rewards FROM user_pool_snapshots_sepolia where user_address = $1', [userAddress])).rows; + result = (await client.query('SELECT snapshot_at, tst, euros, euros_value, rewards FROM user_pool_snapshots_sepolia where user_address = $1', [userAddress])).rows; } finally { client.release(); }