mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-22 14:31:27 +00:00
Bugfix delete room (#72)
Fixes #70 Bugfix delete a room in room list with `deleteMany`.
This commit is contained in:
parent
cfe4f4a995
commit
3d4f45d070
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ const resourceMap = {
|
||||||
total: json => {
|
total: json => {
|
||||||
return json.total_rooms;
|
return json.total_rooms;
|
||||||
},
|
},
|
||||||
delete: id => ({
|
delete: params => ({
|
||||||
endpoint: `/_synapse/admin/v1/rooms/${id}/delete`,
|
endpoint: `/_synapse/admin/v1/rooms/${params.id}/delete`,
|
||||||
body: { block: false },
|
body: { block: false },
|
||||||
method: "POST",
|
method: "POST",
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue