mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-24 23:35:24 +00:00
Change delete room API to DELETE
(#151)
This commit is contained in:
parent
509a45cba4
commit
9f16e5c6ba
1 changed files with 1 additions and 2 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue