chatgpt-web-dev / chatgpt-web

A third-party ChatGPT Web UI page built with Express and Vue3, through the official OpenAI completion API. / 用 Express 和 Vue3 搭建的第三方 ChatGPT 前端页面, 基于 OpenAI 官方 completion API.
https://chatgpt-web.dev
MIT License
1.65k stars 443 forks source link

chore: backend not response mongodb UpdateResult data #401

Closed BobDu closed 9 months ago

BobDu commented 10 months ago

避免在 接口 /room-rename 中将 mongodb 的更新结果 UpdateResult 直接返回到前端 以同样的风格应用到了其他接口上 避免可能产生类似的问题

更新了 mongodb driver 版本 并且替换了新版本中已弃用的方法 cursor.forEach()

另外 从 mongodb 4.x 开始 已经不再需要单独在 devDependencies中导入 @types/mongodb

vercel[bot] commented 10 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @Kerwin1202 on Vercel.

@Kerwin1202 first needs to authorize it.