mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 17:55:24 +00:00
fix: savechat.feat: extract flow
This commit is contained in:
@@ -139,7 +139,7 @@ export default withNextCors(async function handler(req: NextApiRequest, res: Nex
|
||||
// }
|
||||
|
||||
// save chat
|
||||
if (typeof chatId === 'string') {
|
||||
if (chatId) {
|
||||
await saveChat({
|
||||
chatId,
|
||||
appId,
|
||||
|
Reference in New Issue
Block a user