mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-28 17:23:18 +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;
|
return json.total_rooms;
|
||||||
},
|
},
|
||||||
delete: params => ({
|
delete: params => ({
|
||||||
endpoint: `/_synapse/admin/v1/rooms/${params.id}/delete`,
|
endpoint: `/_synapse/admin/v1/rooms/${params.id}`,
|
||||||
body: { block: false },
|
body: { block: false },
|
||||||
method: "POST",
|
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
reports: {
|
reports: {
|
||||||
|
|
Loading…
Reference in a new issue