aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-12-11 10:20:48 +0100
committerprovokateurin <kate@provokateurin.de>2024-12-18 10:52:41 +0100
commit654a7d22ff714c4a5a0769bb9d32a509cbb39ac3 (patch)
treec91e719e5f11f452ca76158fe13176309fba53ed
parent35c4bfd64e0f20d0da5b2f7ce3a8b174a1b61ab4 (diff)
downloadnextcloud-server-654a7d22ff714c4a5a0769bb9d32a509cbb39ac3.tar.gz
nextcloud-server-654a7d22ff714c4a5a0769bb9d32a509cbb39ac3.zip
fix(user_status): Allow null userId in UserStatusController
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--apps/user_status/lib/Controller/UserStatusController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_status/lib/Controller/UserStatusController.php b/apps/user_status/lib/Controller/UserStatusController.php
index a65f9a75c9f..da39710b3fb 100644
--- a/apps/user_status/lib/Controller/UserStatusController.php
+++ b/apps/user_status/lib/Controller/UserStatusController.php
@@ -36,7 +36,7 @@ class UserStatusController extends OCSController {
public function __construct(
string $appName,
IRequest $request,
- private string $userId,
+ private ?string $userId,
private LoggerInterface $logger,
private StatusService $service,
private CalendarStatusService $calendarStatusService,