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 from /users/self to /users?profile=true #627

Conversation

Hariom01010
Copy link
Contributor

Date: 12 Dec 2024

Developer Name: Hariom Vashista


Issue Ticket Number

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

Description

Updated 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?

  • [Y] Yes
  • No

Screenshots

Screenshot 1

Screenshot 2024-12-12 084858
This screenshot shows that the /users?profile=true is being fetched properly (with 200 OK status)

Test Coverage

Screenshot 1

Screenshot 2024-12-12 085548
All the test cases passed after making the changes.

Additional Notes

The self API endpoint in the Screenshots Screenshot 1 is another API endpoint (/users/status/self)

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for staging-my ready!

Name Link
🔨 Latest commit 28fbe7c
🔍 Latest deploy log https://app.netlify.com/sites/staging-my/deploys/675ca1f6ee5a710008ac0aa4
😎 Deploy Preview https://deploy-preview-627--staging-my.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@prakashchoudhary07 prakashchoudhary07 merged commit e4e6eb1 into Real-Dev-Squad:develop Dec 13, 2024
3 of 4 checks passed
@Mir-SA Mir-SA mentioned this pull request Jan 7, 2025
10 tasks
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
2 participants