fix: godjudmentopen spelling matches db

This commit is contained in:
Vyacheslav Matyukhin 2022-03-29 05:10:34 +03:00
parent efae18600f
commit 8553dfa93f
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C
3 changed files with 4 additions and 4 deletions

View File

@ -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`

View File

@ -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);
};

View File

@ -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,