Bugfix delete room (#72)

Fixes #70
Bugfix delete a room in room list with `deleteMany`.
This commit is contained in:
Dirk Klimpel 2020-10-26 10:09:09 +01:00 committed by Manuel Stahl
parent cfe4f4a995
commit 3d4f45d070

View File

@ -66,8 +66,8 @@ const resourceMap = {
total: json => {
return json.total_rooms;
},
delete: id => ({
endpoint: `/_synapse/admin/v1/rooms/${id}/delete`,
delete: params => ({
endpoint: `/_synapse/admin/v1/rooms/${params.id}/delete`,
body: { block: false },
method: "POST",
}),