Skip to content

Commit

Permalink
Merge pull request #45608 from nextcloud/fix-openapi-notes-share-api
Browse files Browse the repository at this point in the history
docs(ShareApiController): Correct note about expiry date timezone
  • Loading branch information
nfebe authored Jul 1, 2024
2 parents 547dab4 + 6136112 commit 5270ffc
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 @@ -512,7 +512,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 5270ffc

Please sign in to comment.