Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-09-07 15:30:06 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-09-07 15:30:06 +0300
commit5b8cbb9a5222554a590c574d24814587033a0937 (patch)
tree460792142c7ca1f68d2097a20c927ec7bdfc88fa /lib
parent37c68dfce000ffb6de27f3d3c0374365ed1ab173 (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.php2
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);
}