Skip to content

Commit

Permalink
Merge pull request #46228 from nextcloud/backport/45608/stable29
Browse files Browse the repository at this point in the history
[stable29] docs(ShareApiController): Correct note about expiry date timezone
  • Loading branch information
nfebe authored Jul 2, 2024
2 parents 11323fb + 78f4fb6 commit b94bcef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/files_sharing/lib/Controller/ShareAPIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ public function deleteShare(string $id): DataResponse {
* @param string $publicUpload If public uploading is allowed
* @param string $password Password for the share
* @param string|null $sendPasswordByTalk Send the password for the share over Talk
* @param ?string $expireDate The expiry date of the share in the user's timezone (UTC) at 00:00.
* @param ?string $expireDate The expiry date of the share in the user's timezone at 00:00.
* If $expireDate is not supplied or set to `null`, the system default will be used.
* @param string $note Note for the share
* @param string $label Label for the share (only used in link and email)
Expand Down
2 changes: 1 addition & 1 deletion apps/files_sharing/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@
{
"name": "expireDate",
"in": "query",
"description": "The expiry date of the share in the user's timezone (UTC) at 00:00. If $expireDate is not supplied or set to `null`, the system default will be used.",
"description": "The expiry date of the share in the user's timezone at 00:00. If $expireDate is not supplied or set to `null`, the system default will be used.",
"schema": {
"type": "string",
"nullable": true
Expand Down

0 comments on commit b94bcef

Please sign in to comment.