GET user-info instead of POST

This commit is contained in:
Leo Vasanko committed 2026-02-18 01:41:04 +00:00
1 parent 42dcb53577
commit 205e7afde2
8 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ if (response.status === 401 || response.status === 403) {
Get current user details:
```js
const user = await apiJson('/auth/api/user-info', { method: 'POST' })
const user = await apiJson('/auth/api/user-info', { method: 'GET' })
// Returns: { uuid, display_name, credentials, sessions, permissions, ... }
```