make psalm & linter happy

Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
chandi Langecker
2022-11-11 16:41:41 +01:00
parent 0ea384d1e5
commit 5386e6e24f
2 changed files with 2 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ class SessionController extends ApiController {
*/ */
public function close(int $boardId, string $token) { public function close(int $boardId, string $token) {
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ); $this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
$this->sessionService->closeSession((int)$boardId, $token); $this->sessionService->closeSession($boardId, $token);
return true; return true;
} }
} }

View File

@@ -37,8 +37,7 @@
</template> </template>
<script> <script>
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar' import { NcAvatar, Tooltip } from '@nextcloud/vue'
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip'
export default { export default {
name: 'SessionList', name: 'SessionList',