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

Accept/Reject endpoints [refactor] #95

Open
lorepirri opened this issue Aug 7, 2022 · 0 comments
Open

Accept/Reject endpoints [refactor] #95

lorepirri opened this issue Aug 7, 2022 · 0 comments
Labels
enhancement New feature or request feature good first issue Good for newcomers

Comments

@lorepirri
Copy link
Contributor

Problem

The two endpoints use getRequestByQuery and it is not really needed.

Feature Description

Have a look at cancelRequest.js or request.js and refactor using getRequestById, throw an error if request.mentor != mentor.

@lorepirri lorepirri added enhancement New feature or request good first issue Good for newcomers feature labels Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant