diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..c179434 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" + ignore: + # Major updates for react-admin have breaking changes + - dependency-name: "react-admin" + update-types: ["version-update:semver-major"] + + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/src/synapse/dataProvider.js b/src/synapse/dataProvider.js index 31015ee..3165f01 100644 --- a/src/synapse/dataProvider.js +++ b/src/synapse/dataProvider.js @@ -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 }, }), },