mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Use filename instead of id to delete chat logs.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user