From e61b5fedfeeb6d73627871b28f56e1c5154d0744 Mon Sep 17 00:00:00 2001 From: Linh Tran <54434142+tranln025@users.noreply.github.com> Date: Wed, 1 Jul 2020 17:54:50 -0700 Subject: [PATCH] Fix typo: 'deteleMany' to 'deleteMany' --- docs/DataProviders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DataProviders.md b/docs/DataProviders.md index c704540ed4e..272ab253831 100644 --- a/docs/DataProviders.md +++ b/docs/DataProviders.md @@ -143,7 +143,7 @@ Here is how this Data Provider maps react-admin calls to API calls: | `update` | `PUT http://my.api.url/posts/123` | | `updateMany` | Multiple calls to `PUT http://my.api.url/posts/123` | | `delete` | `DELETE http://my.api.url/posts/123` | -| `deteleMany` | Multiple calls to `DELETE http://my.api.url/posts/123` | +| `deleteMany` | Multiple calls to `DELETE http://my.api.url/posts/123` | **Note**: The simple REST client expects the API to include a `Content-Range` header in the response to `getList` calls. The value must be the total number of resources in the collection. This allows react-admin to know how many pages of resources there are in total, and build the pagination controls.