Skip to content

Conversation

@lissavxo
Copy link
Collaborator

Related to #741

Description

Created a new endpoint to fetch the total amount of payments, it will be used in the paginate payments logic

Test plan
Run server, Log in the dashboard and try accessing this url :
'http://localhost:3000/api/payments/count'
It should retrieve the same amount of payments that is showing up in the dashboard

@lissavxo lissavxo requested a review from chedieck November 21, 2024 21:12
Copy link
Collaborator

@chedieck chedieck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor thing

@lissavxo lissavxo requested a review from chedieck November 26, 2024 20:05
@lissavxo lissavxo requested a review from Klakurka November 26, 2024 21:21
@Klakurka Klakurka merged commit 6602b27 into master Nov 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants