Rootclaim tweak
This commit is contained in:
parent
5b92f73747
commit
c5bf99cee8
|
@ -40,7 +40,7 @@ async function fetchAndProcessData() {
|
||||||
"type": "PROBABILITY"
|
"type": "PROBABILITY"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
let claimUrlPath = claim.created_at < "2020" ? "claim" : "analysis"
|
let claimUrlPath = claim.created_at < "2020" ? "claims" : "analysis"
|
||||||
let obj = ({
|
let obj = ({
|
||||||
"title": toMarkdown(claim.question).replace("\n",""),
|
"title": toMarkdown(claim.question).replace("\n",""),
|
||||||
"url": `https://www.rootclaim.com/${claimUrlPath}/${claim.slug}`,
|
"url": `https://www.rootclaim.com/${claimUrlPath}/${claim.slug}`,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user