Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
cliff0412 committed Feb 1, 2019
1 parent c6086d6 commit 4442c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -38,10 +38,10 @@ dbUtil.init(tool, option).then(() => {
new ContractService(tool, option).fetchEvent();
break;
case DataConstants.DB_PRICES:
new MarketDataService().startAggregate(tool, option);
new MarketDataService().startAggregate(option.period);
break;
case CST.CLEAN_DB:
new MarketDataService().cleanDb(tool, option);
new MarketDataService().cleanDb();
break;
case CST.START_CUSTODIAN:
new ContractService(tool, option).startCustodian();
Expand Down

0 comments on commit 4442c07

Please sign in to comment.