mirror of
https://github.com/pionxzh/chatgpt-exporter.git
synced 2026-09-21 13:37:42 -05:00
fix: thread might not exist
This commit is contained in:
@@ -102,7 +102,7 @@ function main() {
|
||||
const { conversationNodes } = processConversation(rawConversation, conversationChoices)
|
||||
|
||||
threadContents.forEach((thread, index) => {
|
||||
const createTime = conversationNodes[index].message?.create_time
|
||||
const createTime = conversationNodes[index]?.message?.create_time
|
||||
if (!createTime) return
|
||||
|
||||
const date = new Date(createTime * 1000)
|
||||
|
||||
Reference in New Issue
Block a user