diff --git a/docs/configuration.md b/docs/configuration.md index 8e58241..e27b448 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -21,7 +21,7 @@ Most of these are just session cookies, necessary to query INFER (previously CSE Note that not all of these cookies are needed to use all parts of the source code. For instance, to download Polymarket data, one could just interface with the Polymarket code. In particular, the code in this repository contains code to connect with the postgres database using read permissions, which are freely available. -- `GOODJUDGEMENTOPENCOOKIE` +- `GOODJUDGMENTOPENCOOKIE` - `INFER_COOKIE` - `CSETFORETELL_COOKIE`, deprecated, superseded by `INFER_COOKIE`. - `HYPERMINDCOOKIE` diff --git a/src/backend/platforms/goodjudmentopen-fetch.ts b/src/backend/platforms/goodjudmentopen-fetch.ts index 6f28c39..88a2c3f 100644 --- a/src/backend/platforms/goodjudmentopen-fetch.ts +++ b/src/backend/platforms/goodjudmentopen-fetch.ts @@ -236,7 +236,7 @@ async function goodjudgmentopen_inner(cookie) { return results; } -export const goodjudgmentopen: PlatformFetcher = async function () { +export const goodjudmentopen: PlatformFetcher = async function () { let cookie = process.env.GOODJUDGMENTOPENCOOKIE; return await applyIfSecretExists(cookie, goodjudgmentopen_inner); }; diff --git a/src/backend/platforms/index.ts b/src/backend/platforms/index.ts index b14f333..321cbcd 100644 --- a/src/backend/platforms/index.ts +++ b/src/backend/platforms/index.ts @@ -3,7 +3,7 @@ import { betfair } from "./betfair-fetch"; import { fantasyscotus } from "./fantasyscotus-fetch"; import { foretold } from "./foretold-fetch"; import { goodjudgment } from "./goodjudgment-fetch"; -import { goodjudgmentopen } from "./goodjudmentopen-fetch"; +import { goodjudmentopen } from "./goodjudmentopen-fetch"; import { infer } from "./infer-fetch"; import { kalshi } from "./kalshi-fetch"; import { manifoldmarkets } from "./manifoldmarkets-fetch"; @@ -38,7 +38,7 @@ export const platforms: Platform[] = [ fantasyscotus, foretold, goodjudgment, - goodjudgmentopen, + goodjudmentopen, // note the typo! current table name is without `g`, `goodjudmentopen` infer, kalshi, manifoldmarkets,