Change delete room API to DELETE

This commit is contained in:
dklimpel 2021-06-03 20:50:16 +02:00
parent 985673b161
commit 4236228bd3

View File

@ -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: {