Update lib/Controller/SessionController.php

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
chandi Langecker
2022-11-04 23:51:22 +01:00
committed by chandi Langecker
parent 54b390010c
commit e1e29feb7b

View File

@@ -67,7 +67,7 @@ class SessionController extends ApiController {
* @NoAdminRequired
* @param $boardId
*/
public function sync($boardId, $token): DataResponse {
public function sync(int $boardId, string $token): DataResponse {
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
try {
$this->sessionService->syncSession($boardId, $token);