mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Fix types
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user