This commit is contained in:
Archer
2023-09-18 13:37:25 +08:00
committed by GitHub
parent 0bb31b985d
commit b8ea546b3f
25 changed files with 288 additions and 225 deletions

View File

@@ -116,7 +116,7 @@ export default withNextCors(async function handler(req: NextApiRequest, res: Nex
appId,
userId
}),
getChatHistory({ chatId, userId })
getChatHistory({ chatId, appId, userId })
]);
const isOwner = !shareId && userId === String(app.userId);