Skip to content

Commit

Permalink
Merge pull request #1025 from nextcloud/fix/session_is_int
Browse files Browse the repository at this point in the history
Sessionid is an int
  • Loading branch information
rullzer authored Sep 8, 2020
2 parents dec5cce + 5b8cbb9 commit 77a6488
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 77a6488

Please sign in to comment.