meilisearch-rust
meilisearch-rust copied to clipboard
Fix deleted_tasks field type in TaskDeletion struct
Pull Request
Related issue
Fixes #665
What does this PR do?
- Change the type of
deleted_tasksfield inTaskDeletionfromusizetoOption<usize>- This should be
Option<usize>since it can be null according to the API documentation
- This should be
PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!