Skip to content

Commit bfa870d

Browse files
authored
Merge pull request #11611 from nextcloud/fix/10852
Allow userId to be null
2 parents e387d90 + 13b1cd5 commit bfa870d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/Controller/ShareAPIController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function __construct(
113113
IUserManager $userManager,
114114
IRootFolder $rootFolder,
115115
IURLGenerator $urlGenerator,
116-
string $userId,
116+
string $userId = null,
117117
IL10N $l10n,
118118
IConfig $config,
119119
IAppManager $appManager,

0 commit comments

Comments
 (0)