diff --git a/src/synapse/dataProvider.js b/src/synapse/dataProvider.js index bbe06cc..3bfa4e7 100644 --- a/src/synapse/dataProvider.js +++ b/src/synapse/dataProvider.js @@ -67,9 +67,8 @@ const resourceMap = { return json.total_rooms; }, delete: params => ({ - endpoint: `/_synapse/admin/v1/rooms/${params.id}/delete`, + endpoint: `/_synapse/admin/v1/rooms/${params.id}`, body: { block: false }, - method: "POST", }), }, reports: {