From c5bf99cee836fd6cb267103b9bfa0160b375d4e8 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 27 Jun 2021 20:12:46 +0200 Subject: [PATCH] Rootclaim tweak --- src/platforms/rootclaim-fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/rootclaim-fetch.js b/src/platforms/rootclaim-fetch.js index 4bfce99..734d98e 100644 --- a/src/platforms/rootclaim-fetch.js +++ b/src/platforms/rootclaim-fetch.js @@ -40,7 +40,7 @@ async function fetchAndProcessData() { "type": "PROBABILITY" }) } - let claimUrlPath = claim.created_at < "2020" ? "claim" : "analysis" + let claimUrlPath = claim.created_at < "2020" ? "claims" : "analysis" let obj = ({ "title": toMarkdown(claim.question).replace("\n",""), "url": `https://www.rootclaim.com/${claimUrlPath}/${claim.slug}`,