diff --git a/packages/ra-data-simple-rest/src/index.js b/packages/ra-data-simple-rest/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/ra-data-simple-rest/src/index.js
+++ b/packages/ra-data-simple-rest/src/index.js
@@ -127,7 +127,7 @@ export default (apiUrl, httpClient = fetchUtils.fetchJson) => {
             case CREATE:
                 return { data: { ...params.data, id: json.id } };
             case DELETE_MANY: {
-                return { data: json ? json : [] };
+                return { data: json || [] };
             }
             default:
                 return { data: json };
Update packages/ra-data-simple-rest/src/index.js