diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-09-07 15:30:06 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-09-08 10:59:40 +0300 |
commit | 761b62d89afe9f43278b7a2710b5f82fbb41cbe4 (patch) | |
tree | 69a8a18cd0d4a41da269f10757c81828a64056dc | |
parent | b62b6efa3ca9b18ec0135f9c12ff4352cf312792 (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>
-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); } |