Skip to content

Commit

Permalink
fix(search): also "Futures" (in addition to "Future") for typeDisp
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Aug 12, 2023
1 parent d943e97 commit d745b67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8566,7 +8566,10 @@
},
"typeDisp": {
"type": "string",
"const": "Future"
"enum": [
"Future",
"Futures"
]
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion src/modules/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface SearchQuoteYahooCryptocurrency extends SearchQuoteYahoo {

export interface SearchQuoteYahooFuture extends SearchQuoteYahoo {
quoteType: "FUTURE";
typeDisp: "Future";
typeDisp: "Future" | "Futures";
}

export interface SearchQuoteNonYahoo {
Expand Down

0 comments on commit d745b67

Please sign in to comment.