Skip to content

Commit

Permalink
fix: godjudmentopen spelling matches db
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Mar 29, 2022
1 parent efae186 commit 8553dfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion src/backend/platforms/goodjudmentopen-fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
4 changes: 2 additions & 2 deletions src/backend/platforms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8553dfa

Please sign in to comment.