We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c988e6 commit cca5538Copy full SHA for cca5538
apps/dav/lib/Controller/OutOfOfficeController.php
@@ -54,7 +54,7 @@ public function __construct(
54
* @NoCSRFRequired
55
*
56
* @param string $userId The user id to get out-of-office data for.
57
- * @return DataResponse<Http::STATUS_OK, ?DavOutOfOfficeData, array{}>
+ * @return DataResponse<Http::STATUS_OK|Http::STATUS_NOT_FOUND, ?DavOutOfOfficeData, array{}>
58
59
* 200: Out-of-office data
60
* 404: No out-of-office data was found
@@ -68,6 +68,7 @@ public function getCurrentOutOfOfficeData(string $userId): DataResponse {
68
69
return new DataResponse([
70
'id' => $data->getId(),
71
+ 'userId' => $data->getUserId(),
72
'firstDay' => $data->getFirstDay(),
73
'lastDay' => $data->getLastDay(),
74
'status' => $data->getStatus(),
0 commit comments