Commit e4d101e5 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: delete shared chat by id

parent 88c5b7f4
......@@ -285,7 +285,7 @@ export const shareChatById = async (token: string, id: string) => {
export const deleteSharedChatById = async (token: string, id: string) => {
let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/chats/${id}`, {
const res = await fetch(`${WEBUI_API_BASE_URL}/chats/${id}/share`, {
method: 'DELETE',
headers: {
Accept: 'application/json',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment