Skip to content

Commit eea768e

Browse files
committed
chore: update totalCount to total in active delegator response
1 parent 959a43b commit eea768e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/drep.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const getDrepActiveDelegators = async (req: Request, res: Response) => {
8282
dRepId.isScript,
8383
balance
8484
)
85-
return res.status(200).json({ total: totalCount, page, size, items })
85+
return res.status(200).json({ totalCount, page, size, items })
8686
}
8787

8888
const getDrepLiveDelegators = async (req: Request, res: Response) => {

0 commit comments

Comments
 (0)