GET user-info instead of POST

This commit is contained in:
Leo Vasanko
2026-02-18 01:41:04 +00:00
parent 42dcb53577
commit 205e7afde2
8 changed files with 13 additions and 13 deletions
+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, ... }
```