Skip to content

Commit

Permalink
Updated the deprecatd API endpoint from /users/self to /users?profile…
Browse files Browse the repository at this point in the history
…=true (#277)
  • Loading branch information
Hariom01010 authored Dec 10, 2024
1 parent 43ad6fa commit 3cff9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const hideSkeleton = () => {
};

const fetchData = () => {
fetch('https://api.realdevsquad.com/users/self', {
fetch('https://api.realdevsquad.com/users?profile=true', {
headers: { 'content-type': 'application/json' },
credentials: 'include',
})
Expand Down

0 comments on commit 3cff9e0

Please sign in to comment.