diff --git a/src/liquidationPools.js b/src/liquidationPools.js index fb32b13..3d2ada6 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 { - const query = 'SELECT snapshot_at, assets FROM user_pool_snapshots_sepolia where user_address = $1 ORDER BY snapshot_at ASC'; + const query = 'SELECT snapshot_at, assets FROM user_pool_snapshots where user_address = $1 ORDER BY snapshot_at ASC'; result = (await client.query(query, [userAddress])).rows; } finally { client.release();