fix: trailing slash added to api routes
This commit is contained in:
1 parent
f70fadd70c
commit
bdc131378f
2 files changed
+2
-2
No files matched your search
@@ -34,7 +34,7 @@ export const updateUserRole = async (token: string, id: string, role: string) =>
|
||||
export const getUsers = async (token: string) => {
|
||||
let error = null;
|
||||
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/users`, {
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/users/`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in new issue
Block a user