Skip to content

Commit

Permalink
Use new endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gubskiy committed Jan 22, 2025
1 parent 3b98c97 commit 4164d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CampusClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const getCurrentUser = async (ignoreCache) => {
return cachedUserInfo;
}

const response = await callApi('Account/Info', 'GET');
const response = await callApi('profile', 'GET');

if (response.status < 200 || response.status >= 300) {
return null;
Expand Down

0 comments on commit 4164d74

Please sign in to comment.