We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Make a quick check if list of IDs could be represented as a list of ObjectID's
Test:
def test_bulk_search_one_valid(client): test_signup(client) token1 = client.post( "/api/public/authorisation/signin", json={ "email": "testuser@test.com", "password": "testpassword", }).json().get("token", "") user1 = client.get("/api/private/profile", headers={"Authorisation":token1}).json() del user1["email"] response = client.post("/api/public/profile/bulk", json={ "users": [ user1["id"], "11111891a5d13e63599968cc1" ] } ) assert response.status_code == 200 assert response.json() == [ user1 ]
The text was updated successfully, but these errors were encountered:
denver-code
Successfully merging a pull request may close this issue.
Make a quick check if list of IDs could be represented as a list of ObjectID's
![image](https://private-user-images.githubusercontent.com/42842614/247788808-12d53b6f-ed54-4c4d-bd01-1a105700c509.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NDI1NjIsIm5iZiI6MTcyNDU0MjI2MiwicGF0aCI6Ii80Mjg0MjYxNC8yNDc3ODg4MDgtMTJkNTNiNmYtZWQ1NC00YzRkLWJkMDEtMWExMDU3MDBjNTA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDIzMzEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4MTE5NmQzODc4OTZlY2ZkMzhjNTBkMzNhODgwMTM0YmYwNmYyM2NmNmVmYTc1MzlkODRlZWY5MzhhOWFiMTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8-VKGlKMyInd59Z17PI7k5tPT82gnKecP6AfmTLFl0I)
Test:
The text was updated successfully, but these errors were encountered: