You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After getting the response object by calling the api manually and comparing it to the structs, I found out that deletedTasks was null in my response object, while the deleted_tasks field in struct TaskDeletion is usize and not Option<usize>
Description
When trying to call perform
get_task()
for a deletion task, I get an error:After getting the response object by calling the api manually and comparing it to the structs, I found out that
deletedTasks
wasnull
in my response object, while thedeleted_tasks
field in structTaskDeletion
isusize
and notOption<usize>
meilisearch-rust/src/tasks.rs
Lines 115 to 121 in 90a153c
According to the API documentation, the deleted_tasks can be null when the task is
enqueued
orprocessing
.The text was updated successfully, but these errors were encountered: