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; entry.id = index;
} }
result.entries[index] = { result.entries[entry.id] = {
uid: entry.id || index, uid: entry.id,
key: entry.keys, key: entry.keys,
keysecondary: entry.secondary_keys || [], keysecondary: entry.secondary_keys || [],
comment: entry.comment || "", comment: entry.comment || "",