File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import stringify from "csv-stringify";
22import fs from "graceful-fs" ;
33
44export default class DataRow {
5- oddsNew ( ) {
5+ static oddsNew ( ) {
66 return 1 ;
77 }
88
Original file line number Diff line number Diff line change 11import DataRow from "./DataRow" ;
22import TYPES from "./Types" ;
33
4+ const ODDS_NEW = 0.2 ;
5+
46/**
57 * LOAD_HISTORY View
68 *
@@ -16,7 +18,7 @@ export default class LoadHistory extends DataRow {
1618 }
1719
1820 static oddsNew ( ) {
19- return 0.2 ;
21+ return ODDS_NEW ;
2022 }
2123
2224 static types ( ) {
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import LoginHistory from "./LoginHistory";
55import TYPES from "./Types" ;
66import * as helpers from "../helpers" ;
77
8+ const ODDS_NEW = 0.2 ;
9+
810/**
911 * QUERY_HISTORY View
1012 *
@@ -81,7 +83,7 @@ export default class QueryHistory extends DataRow {
8183 }
8284
8385 static oddsNew ( ) {
84- return 0.3 ;
86+ return ODDS_NEW ;
8587 }
8688
8789 static types ( ) {
You can’t perform that action at this time.
0 commit comments