diff --git a/src/controllers/DappsStakingV3Controller.ts b/src/controllers/DappsStakingV3Controller.ts index 10d1511..28daf81 100644 --- a/src/controllers/DappsStakingV3Controller.ts +++ b/src/controllers/DappsStakingV3Controller.ts @@ -100,7 +100,7 @@ export class DappsStakingV3Controller extends ControllerBase implements IControl ); }, ); - + app.route('/api/v3/:network/dapps-staking/stakerscount-total/:period').get( async (req: Request, res: Response) => { /* diff --git a/src/services/DappsStakingEvents.ts b/src/services/DappsStakingEvents.ts index e992268..9beecc1 100644 --- a/src/services/DappsStakingEvents.ts +++ b/src/services/DappsStakingEvents.ts @@ -313,12 +313,12 @@ export class DappsStakingEvents extends ServiceBase implements IDappsStakingEven return []; } } - + public async getDappStakingStakersCountTotal(network: NetworkType, period: PeriodType): Promise { if (network !== 'astar' && network !== 'shiden' && network !== 'shibuya') { return []; } - + const range = this.getDateRange(period); try {