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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-06-22 21:43:42 +0300
committerdartcafe <github@dartcafe.de>2020-06-22 21:43:42 +0300
commit17c03b27e1e0efe74817b3ce622f773a8291bcfd (patch)
treec840c7d445c96c6c3d37661e38e8cce44edb5d21 /lib/Controller/SubscriptionController.php
parent863d50ecfa2963664cb16892d31af65ad3289b5e (diff)
code maintenance
Diffstat (limited to 'lib/Controller/SubscriptionController.php')
-rw-r--r--lib/Controller/SubscriptionController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SubscriptionController.php b/lib/Controller/SubscriptionController.php
index 194b97e6..e90f4a66 100644
--- a/lib/Controller/SubscriptionController.php
+++ b/lib/Controller/SubscriptionController.php
@@ -76,7 +76,7 @@ class SubscriptionController extends Controller {
} catch (NotAuthorizedException $e) {
return new DataResponse(['error' => $e->getMessage()], $e->getStatus());
} catch (DoesNotExistException $e) {
- return new DataResponse(['error' => 'Not subscribed'], Http::STATUS_NOT_FOUND);
+ return new DataResponse(['status' => 'Not subscribed'], Http::STATUS_NOT_FOUND);
}
}