mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Fix type of PreviewController::$userId
Can be null if not logged in; currently crashes Signed-off-by: Varun Patil <varunpatil@ucla.edu>
This commit is contained in:
parent
af246d6bd1
commit
64a1bcec1d
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ use OCP\IPreview;
|
|||
use OCP\IRequest;
|
||||
|
||||
class PreviewController extends Controller {
|
||||
private string $userId;
|
||||
private ?string $userId;
|
||||
private IRootFolder $root;
|
||||
private IPreview $preview;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue