Fix types

This commit is contained in:
Webifi 2023-05-28 15:57:22 -05:00
parent c436fc6299
commit 4b2ffa1c72
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
} }
Object.entries(getChatDefaults()).forEach(([k, v]) => { Object.entries(getChatDefaults()).forEach(([k, v]) => {
const val = chat.settings[k] const val = chat.settings[k]
chat.settings[k] = (val === undefined || val === null ? v : chat.settings[k]) as any chat.settings[k] = (val === undefined || val === null ? v : chat.settings[k])
}) })
// make sure old chat messages have UUID // make sure old chat messages have UUID
chat.messages.forEach((m) => { chat.messages.forEach((m) => {