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

fix: delete shared chat by id

parent 6c0e3972
...@@ -285,7 +285,7 @@ export const shareChatById = async (token: string, id: string) => { ...@@ -285,7 +285,7 @@ export const shareChatById = async (token: string, id: string) => {
export const deleteSharedChatById = async (token: string, id: string) => { export const deleteSharedChatById = async (token: string, id: string) => {
let error = null; 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', method: 'DELETE',
headers: { headers: {
Accept: 'application/json', 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