mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #518 from 50h100a/main
Mismatch between file and character names prevents chat logs from being deleted.
This commit is contained in:
@@ -940,7 +940,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