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

Admin API for Mentor Details Update #169

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

Disura-Randunu
Copy link
Contributor

Purpose

The purpose of this PR is to fix #168

Goals

API endpoint for admin users to update Mentor details

Approach

Update a mentor with relevant data either using a form data or a json body with the needed fields.

Screenshots

Checklist

  • This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
  • I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Related PRs

Test environment

Learning

@Disura-Randunu
Copy link
Contributor Author

Disura-Randunu commented Sep 16, 2024

@anjula-sack updated
btw, builds are failing because test case failue:

Route.put() requires a callback function but got a [object Undefined]

@Disura-Randunu
Copy link
Contributor Author

@anjula-sack fixed build issues

Copy link
Member

@anjula-sack anjula-sack left a comment

Choose a reason for hiding this comment

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

Thank you! @Disura-Randunu

@anjula-sack anjula-sack merged commit e26961c into sef-global:main Sep 16, 2024
1 check 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.

Admin should be able to edit mentor details
2 participants