This commit is contained in:
Timothy Jaeryang Baek committed 2026-08-10 19:16:21 -06:00
1 parent ec03e88144
commit 72a909fd2f
6 files changed
+129 -32

No files matched your search

+2 -2
View File
@@ -271,9 +271,9 @@ export const getAllUsers = async (token: string) => {
return res;
};
export const getUserSettings = async (token: string) => {
export const getUserSettings = async (token: string, raw = false) => {
let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/users/user/settings`, {
const res = await fetch(`${WEBUI_API_BASE_URL}/users/user/settings${raw ? '?raw=true' : ''}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',