diff options
author | René Gieling <github@dartcafe.de> | 2021-07-05 15:20:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 15:20:01 +0300 |
commit | 6708a60c26d04cf7f89d0137d2a12fb1bb45cebe (patch) | |
tree | a389792cfc4b08d220aba703e27c6d3964b5f033 /lib/Controller/PublicController.php | |
parent | 1f3b494cd60d9972b05ed273e91efdc3754c74ec (diff) | |
parent | df66373fbed0a146bcecd277349d3525221c61c4 (diff) |
Merge pull request #1809 from nextcloud/version/3.0.0-rc.2v3.0.0-rc.2
Version/3.0.0 rc.2
Diffstat (limited to 'lib/Controller/PublicController.php')
-rw-r--r-- | lib/Controller/PublicController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/PublicController.php b/lib/Controller/PublicController.php index 5843d7a2..040f4eb1 100644 --- a/lib/Controller/PublicController.php +++ b/lib/Controller/PublicController.php @@ -293,7 +293,7 @@ class PublicController extends Controller { */ public function subscribe(string $token): DataResponse { return $this->response(function () use ($token) { - return ['subscribed' => $this->subscriptionService->set(0, $token, true)]; + return ['subscribed' => $this->subscriptionService->set(true, 0, $token)]; }); } @@ -304,7 +304,7 @@ class PublicController extends Controller { */ public function unsubscribe(string $token): DataResponse { return $this->response(function () use ($token) { - return ['subscribed' => $this->subscriptionService->set(0, $token, false)]; + return ['subscribed' => $this->subscriptionService->set(true, 0, $token)]; }); } |