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

Remove extra single quote in error 5491300 #1563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cusspvz
Copy link

@cusspvz cusspvz commented Jul 18, 2023

While attempting to run an aggregation with the $documents stage, I've got an error and noticed that it had an extra single quote mark in it. As I started to look into the source code in order to better understand the nature of it, I've decided to create a PR quickly in order to fix it.

    MongoServerError: $documents' is not allowed in user requests

      at Connection.onMessage (node_modules/mongodb/src/cmap/connection.ts:413:18)
      at MessageStream.<anonymous> (node_modules/mongodb/src/cmap/connection.ts:243:56)
      at processIncomingData (node_modules/mongodb/src/cmap/message_stream.ts:187:12)
      at MessageStream._write (node_modules/mongodb/src/cmap/message_stream.ts:68:5)

@kelly-cs kelly-cs self-assigned this Aug 1, 2023
Copy link

@suenalaba suenalaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kelly-cs kelly-cs added the Typo label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants