Skip to content

Commit

Permalink
Merge pull request #289 from Badger-Finance/fix.api.governance
Browse files Browse the repository at this point in the history
fix: correct typo in param for governance list in api service
okjintao authored Nov 29, 2022
2 parents 0212358 + d92e7bb commit ba6539e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/index.ts
Original file line number Diff line number Diff line change
@@ -240,12 +240,12 @@ export class BadgerAPI {
loadGovernanceProposals(
network?: Network,
page = 1,
perSize = 10,
perPage = 10,
): Promise<GovernanceProposalsList> {
return this.get(`v3/governance/proposals/list`, {
chain: network ?? this.network,
page,
perSize,
perPage,
});
}

0 comments on commit ba6539e

Please sign in to comment.