Skip to content

Commit

Permalink
get snapshots from main table
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Feb 23, 2024
1 parent 7f31487 commit d474814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liquidationPools.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d474814

Please sign in to comment.