Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect number of hours for courses conducted by one mentor in mentors table #87

Open
edmondpr opened this issue Sep 30, 2023 · 3 comments
Labels
backend bug Something isn't working

Comments

@edmondpr
Copy link
Member

edmondpr commented Sep 30, 2023

The number of hours is calculated incorrectly for the courses conducted by one mentor.

Example:
Course id: 16fd0ec9-1645-4bf6-8c25-e338c0b09528 (should show 14 hours instead of 13).

@edmondpr edmondpr moved this to Todo in MWB partners admin Sep 30, 2023
@edmondpr edmondpr added bug Something isn't working backend labels Sep 30, 2023
@paschalidi
Copy link
Collaborator

@edmondpr which endpoint are u using to get this ?

@edmondpr
Copy link
Member Author

edmondpr commented Oct 2, 2023

The endpoint is /api/v1/partners/:partner_id/mentors

@paschalidi paschalidi self-assigned this Oct 13, 2023
@paschalidi paschalidi moved this from Todo to In Progress in MWB partners admin Oct 13, 2023
@paschalidi
Copy link
Collaborator

paschalidi commented Oct 13, 2023

@edmondpr can we pleas go thought this step by step on how to reproduce it?

Am a bit lost :|

Like for example for which partner are u calling the endpoint and u realise there is an error?

Also in which table is the course 16fd0ec9-1645-4bf6-8c25-e338c0b09528 belonging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
Development

No branches or pull requests

2 participants