Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/maps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Schwörer <hello@paulschwoerer.de>2019-12-04 23:37:47 +0300
committerPaul Schwörer <hello@paulschwoerer.de>2020-02-05 21:09:00 +0300
commit7bca800e61160355972131bb95ea01f2cdf839a7 (patch)
treebf7f5d8eb17c4c2981374b7fc728894746c6c5cd /appinfo
parentbe74a74ce9c1d73bef0deed655a45844916a3522 (diff)
Fix copy paste error in routes.php
Signed-off-by: Paul Schwörer <hello@paulschwoerer.de>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 978e4ecc..8249eef3 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -91,7 +91,7 @@ return [
['name' => 'devices_api#getDevices', 'url' => '/api/{apiversion}/devices', 'verb' => 'GET'],
['name' => 'devices_api#getDevicePoints', 'url' => '/api/{apiversion}/devices/{id}', 'verb' => 'GET'],
['name' => 'devices_api#addDevicePoint', 'url' => '/api/{apiversion}/devices', 'verb' => 'POST'],
- ['name' => 'devices_api#editDevice', 'url' => '/api/{apiversion}/devices/{id}', 'verbGET' => 'PUT'],
+ ['name' => 'devices_api#editDevice', 'url' => '/api/{apiversion}/devices/{id}', 'verb' => 'PUT'],
['name' => 'devices_api#deleteDevice', 'url' => '/api/{apiversion}/devices/{id}', 'verb' => 'DELETE'],
// devices