From 07f30f57a29ac9f6537908f503d0e62b0ead3e9f Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 11 Jan 2022 23:25:06 +0100 Subject: [PATCH] fix: further Manifold Market tweaks --- src/platforms/manifoldmarkets-fetch.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/platforms/manifoldmarkets-fetch.js b/src/platforms/manifoldmarkets-fetch.js index 8579eb5..0e7ea4d 100644 --- a/src/platforms/manifoldmarkets-fetch.js +++ b/src/platforms/manifoldmarkets-fetch.js @@ -48,17 +48,18 @@ async function processPredictions(predictions) { "stars": calculateStars("Manifold Markets", ({ volume7days: prediction.volume7days, volume24Hours: prediction.volume24Hours, - pool: prediction.pool // normally liquidity, but I don't actually want to show it. + pool: prediction.pool })), "createdTime": prediction.createdTime, "volume7Days": prediction.volume7Days, "volume24Hours": prediction.volume24Hours, - "liquidity": prediction.pool + "pool": prediction.pool // normally liquidity, but I don't actually want to show it. } }) return result }) let unresolvedResults = results.filter(result => !result.isResolved) + console.log(unresolvedResults) return unresolvedResults //resultsProcessed } @@ -73,4 +74,4 @@ export async function manifoldmarkets() { await upsert(results, "manifoldmarkets-questions") console.log("Done") } -//manifoldmarkets() +manifoldmarkets()