Change delete room API to DELETE (#151)

This commit is contained in:
Dirk Klimpel 2021-07-05 14:32:44 +02:00 committed by GitHub
parent 509a45cba4
commit 9f16e5c6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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