diff options
author | dartcafe <github@dartcafe.de> | 2022-07-08 23:56:26 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-07-08 23:56:26 +0300 |
commit | 6f7e3b569e4fed3e77a0ec64c6482f5582b5327b (patch) | |
tree | ca4dffe9126d0b343acc26877a305547a0740e73 | |
parent | 312d6990f51a5eb68b0b5a6a4427f1165330d0c0 (diff) |
fix unsubscribe from public poll
Signed-off-by: dartcafe <github@dartcafe.de>
-rw-r--r-- | lib/Controller/PublicController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PublicController.php b/lib/Controller/PublicController.php index 1bbb3669..9053d97a 100644 --- a/lib/Controller/PublicController.php +++ b/lib/Controller/PublicController.php @@ -278,7 +278,7 @@ class PublicController extends Controller { * @NoAdminRequired */ public function unsubscribe(string $token): JSONResponse { - return $this->response(fn () => ['subscribed' => $this->subscriptionService->set(true, null, $token)]); + return $this->response(fn () => ['subscribed' => $this->subscriptionService->set(false, null, $token)]); } /** |