Skip to content

Commit 42453c1

Browse files
Fix endpoint url
1 parent 31af6d8 commit 42453c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/static-apps/user-information.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Using the [fetch](https://developer.mozilla.org/docs/Web/API/Fetch_API/Using_Fet
4949

5050
```javascript
5151
async function getUserInfo() {
52-
const response = await fetch("/api/user");
52+
const response = await fetch("/.auth/me");
5353
const payload = await response.json();
5454
const { clientPrincipal } = payload;
5555
return clientPrincipal;

0 commit comments

Comments
 (0)