Skip to content

Commit

Permalink
lint spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
gluneau committed Jan 26, 2024
1 parent 681cc8b commit d67452a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controllers/DappsStakingV3Controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
/*
Expand Down
4 changes: 2 additions & 2 deletions src/services/DappsStakingEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,12 @@ export class DappsStakingEvents extends ServiceBase implements IDappsStakingEven
return [];
}
}

public async getDappStakingStakersCountTotal(network: NetworkType, period: PeriodType): Promise<Pair[]> {
if (network !== 'astar' && network !== 'shiden' && network !== 'shibuya') {
return [];
}

const range = this.getDateRange(period);

try {
Expand Down

0 comments on commit d67452a

Please sign in to comment.