Use filename instead of id to delete chat logs.

This commit is contained in:
hh_aa
2023-06-17 23:30:48 -04:00
parent c890da2877
commit 6d649c716d
2 changed files with 5 additions and 4 deletions

View File

@ -938,7 +938,7 @@ async function delChat(chatfile) {
headers: getRequestHeaders(),
body: JSON.stringify({
chatfile: chatfile,
id: characters[this_chid].name
avatar_url: characters[this_chid].avatar,
}),
});
if (response.ok === true) {