summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/appinfo
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-18 22:13:38 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-20 19:42:52 +0100
commit836e7305d02d718673848c2ea35fe194fd81142c (patch)
tree8ecf0de9ee42cec0669c058a6183e54a58a9e00d /apps/accessibility/appinfo
parent2b2626566c19280ff207cbfa2c0c235ecae2a79b (diff)
downloadnextcloud-server-836e7305d02d718673848c2ea35fe194fd81142c.tar.gz
nextcloud-server-836e7305d02d718673848c2ea35fe194fd81142c.zip
Fix accessibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/accessibility/appinfo')
-rw-r--r--apps/accessibility/appinfo/routes.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/accessibility/appinfo/routes.php b/apps/accessibility/appinfo/routes.php
index ce03b3486b7..0096b729164 100644
--- a/apps/accessibility/appinfo/routes.php
+++ b/apps/accessibility/appinfo/routes.php
@@ -35,7 +35,12 @@ return [
[
'name' => 'Config#setConfig',
'url' => '/api/v1/config/{key}',
- 'verb' => 'POST',
+ 'verb' => 'PUT',
+ ],
+ [
+ 'name' => 'Config#deleteConfig',
+ 'url' => '/api/v1/config/{key}',
+ 'verb' => 'DELETE',
],
]
];