fix: delete shared chat by id

This commit is contained in:
Timothy J. Baek 2024-04-02 07:04:04 -07:00
parent 6c0e3972dc
commit 49428eb7ef
1 changed files with 1 additions and 1 deletions

View File

@ -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',