diff --git a/functions/src/markets.ts b/functions/src/markets.ts index aaa6db06..6d6380c1 100644 --- a/functions/src/markets.ts +++ b/functions/src/markets.ts @@ -33,7 +33,7 @@ const getContractInfo = ({ description, slug, pool, - startPool, + totalShares, volume7Days, volume24Hours, isResolved, @@ -47,8 +47,8 @@ const getContractInfo = ({ question, description, url: `https://manifold.markets/${creatorUsername}/${slug}`, - pool: pool.YES + pool.NO - startPool.YES - startPool.NO, - probability: getProbability(pool), + pool: pool.YES + pool.NO, + probability: getProbability(totalShares), volume7Days, volume24Hours, isResolved,