diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-09-07 15:30:06 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-09-07 15:30:06 +0300 |
commit | 5b8cbb9a5222554a590c574d24814587033a0937 (patch) | |
tree | 460792142c7ca1f68d2097a20c927ec7bdfc88fa /lib | |
parent | 37c68dfce000ffb6de27f3d3c0374365ed1ab173 (diff) |
Sessionid is an int
With the extra memcache check now this could cause issues otherwise.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/PublicSessionController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PublicSessionController.php b/lib/Controller/PublicSessionController.php index 015f5c0a7..dbf9a2642 100644 --- a/lib/Controller/PublicSessionController.php +++ b/lib/Controller/PublicSessionController.php @@ -80,7 +80,7 @@ class PublicSessionController extends PublicShareController { * @NoAdminRequired * @PublicPage */ - public function fetch(int $documentId, string $sessionId, string $sessionToken): Response { + public function fetch(int $documentId, int $sessionId, string $sessionToken): Response { return $this->apiService->fetch($documentId, $sessionId, $sessionToken); } |