Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
IanPhilips committed Sep 14, 2024
1 parent e35a349 commit 46c20ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/api/src/redeem-shares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const redeemShares = async (
) => {
if (!userIds.length) return

// TODO: just load user_contract_metrics instead of contract_bets here
const bets = await pgTrans.map(
`select * from contract_bets where contract_id = $1 and user_id = any($2);`,
[contract.id, userIds],
Expand Down

0 comments on commit 46c20ba

Please sign in to comment.