diff options
author | dartcafe <github@dartcafe.de> | 2020-06-22 21:43:42 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-06-22 21:43:42 +0300 |
commit | 17c03b27e1e0efe74817b3ce622f773a8291bcfd (patch) | |
tree | c840c7d445c96c6c3d37661e38e8cce44edb5d21 /lib/Controller/SubscriptionController.php | |
parent | 863d50ecfa2963664cb16892d31af65ad3289b5e (diff) |
code maintenance
Diffstat (limited to 'lib/Controller/SubscriptionController.php')
-rw-r--r-- | lib/Controller/SubscriptionController.php | 2 |
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); } } |