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

Updated deprecated API endpoint users/self to users?profile=true #931

Conversation

Hariom01010
Copy link
Contributor

@Hariom01010 Hariom01010 commented Dec 28, 2024

Date: 28 Dec 2024

Developer Name: Hariom Vashista


Issue Ticket Number

Fixes: Real-Dev-Squad/todo-action-items#255 repo#9

Description

This PR aims at updating the deprecated API endpoint from /users/self to /users?profile=true

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Screenshot 2024-12-28 062456
The updated API endpoint is working properly.

Test Coverage

Screenshot 1

Screenshot 2024-12-28 061441
Test Case results after and before the changes. Create a new repo and ran npm run test (left side) and then made the changes after checking out in a new branch and ran npm run test (right side)

Additional Notes

@Hariom01010 Hariom01010 marked this pull request as ready for review December 28, 2024 03:33
@tejaskh3
Copy link
Member

Can you please add the PR description?

@Hariom01010
Copy link
Contributor Author

Can you please add the PR description?

I have updated the PR description Tejas as instructed.

@iamitprakash iamitprakash merged commit 8ee1b7f into Real-Dev-Squad:develop Dec 28, 2024
4 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.

Remove /users/self and implement a new API Endpoint
4 participants