mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2025-11-30 05:07:31 +00:00
Use delete room API v2 (delete room in background) (#211)
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
This commit is contained in:
parent
43f1b82d33
commit
bd6b6eef85
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ const resourceMap = {
|
|||
return json.total_rooms;
|
||||
},
|
||||
delete: params => ({
|
||||
endpoint: `/_synapse/admin/v1/rooms/${params.id}`,
|
||||
endpoint: `/_synapse/admin/v2/rooms/${params.id}`,
|
||||
body: { block: false },
|
||||
}),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue