Merge pull request #45608 from nextcloud/fix-openapi-notes-share-api

docs(ShareApiController): Correct note about expiry date timezone
This commit is contained in:
F. E Noel Nfebe 2024-07-01 18:22:51 +01:00 committed by GitHub
commit 5270ffc3a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -512,7 +512,7 @@ class ShareAPIController extends OCSController {
* @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)

View file

@ -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