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

The query string parameter with null generates an error #2

Open
HMarzban opened this issue Sep 1, 2020 · 1 comment
Open

The query string parameter with null generates an error #2

HMarzban opened this issue Sep 1, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@HMarzban
Copy link
Collaborator

HMarzban commented Sep 1, 2020

{
 criteria: {
    tno: { '$ne': 0 },
    pe: { '$ne': 'null' },
    eps: { '$ne': 'null' },
    flow: { '$in': [Array] }
 },
   options: { limit: 10 },
   links: [Function: links]
 }

Because it sends a null value as a string, it must be converted to a literally null value.

@HMarzban HMarzban added the bug Something isn't working label Sep 1, 2020
@HMarzban
Copy link
Collaborator Author

HMarzban commented Sep 1, 2020

Write a test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant