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:
committed by
chandi Langecker
parent
54b390010c
commit
e1e29feb7b
@@ -67,7 +67,7 @@ class SessionController extends ApiController {
|
|||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
* @param $boardId
|
* @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);
|
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
||||||
try {
|
try {
|
||||||
$this->sessionService->syncSession($boardId, $token);
|
$this->sessionService->syncSession($boardId, $token);
|
||||||
|
|||||||
Reference in New Issue
Block a user