mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 06:17:06 +00:00
fix: 未知原因的错误
This commit is contained in:
parent
d3c9cbbdff
commit
3bdfb15b0d
1 changed files with 1 additions and 1 deletions
|
|
@ -695,7 +695,7 @@ export class chatgpt extends plugin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let ctime = new Date()
|
let ctime = new Date()
|
||||||
previousConversation = await redis.get(key) || JSON.stringify({
|
previousConversation = (key ? await redis.get(key) : null) || JSON.stringify({
|
||||||
sender: e.sender,
|
sender: e.sender,
|
||||||
ctime,
|
ctime,
|
||||||
utime: ctime,
|
utime: ctime,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue