Skip to content

Commit

Permalink
Sessionid is an int
Browse files Browse the repository at this point in the history
With the extra memcache check now this could cause issues otherwise.

Signed-off-by: Roeland Jago Douma <[email protected]>
  • Loading branch information
rullzer authored and backportbot[bot] committed Sep 8, 2020
1 parent 953e679 commit 7aa3682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/PublicSessionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function create(string $token, string $file = null, $guestName = null, bo
* @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);
}

Expand Down

0 comments on commit 7aa3682

Please sign in to comment.