diff --git a/lib/Controller/SessionController.php b/lib/Controller/SessionController.php index 0d9e5ee67..6df51d295 100644 --- a/lib/Controller/SessionController.php +++ b/lib/Controller/SessionController.php @@ -86,7 +86,7 @@ class SessionController extends ApiController { */ public function close(int $boardId, string $token) { $this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ); - $this->sessionService->closeSession((int)$boardId, $token); + $this->sessionService->closeSession($boardId, $token); return true; } } diff --git a/src/components/SessionList.vue b/src/components/SessionList.vue index a5710034c..5e996258d 100644 --- a/src/components/SessionList.vue +++ b/src/components/SessionList.vue @@ -37,8 +37,7 @@