Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: backend not response mongodb UpdateResult data #401

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

BobDu
Copy link
Member

@BobDu BobDu commented Jan 3, 2024

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

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

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

Copy link

vercel bot commented Jan 3, 2024

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

@Kerwin1202 first needs to authorize it.

@Kerwin1202 Kerwin1202 merged commit ddb64df into chatgpt-web-dev:main Jan 4, 2024
2 of 3 checks passed
@BobDu BobDu deleted the mongo-type branch January 5, 2024 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants