Fix Chub embedded lorebooks import

This commit is contained in:
Cohee
2023-07-04 14:47:48 +03:00
parent 44a38f8588
commit 6770ccbe91

View File

@@ -1142,8 +1142,8 @@ function convertCharacterBook(characterBook) {
entry.id = index;
}
result.entries[index] = {
uid: entry.id || index,
result.entries[entry.id] = {
uid: entry.id,
key: entry.keys,
keysecondary: entry.secondary_keys || [],
comment: entry.comment || "",