aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorF. E Noel Nfebe <fenn25.fn@gmail.com>2024-07-01 18:22:51 +0100
committerGitHub <noreply@github.com>2024-07-01 18:22:51 +0100
commit5270ffc3a5ad590c780d792cc004fdd00c366233 (patch)
tree818ffb251b119c3c8fe799d1e4b7a00899e6ebb5 /apps
parent547dab4637bff3ebc33512e2bf1e57b200a6199f (diff)
parent6136112be160cc04b0a165e777f5f1cec12ac65c (diff)
downloadnextcloud-server-5270ffc3a5ad590c780d792cc004fdd00c366233.tar.gz
nextcloud-server-5270ffc3a5ad590c780d792cc004fdd00c366233.zip
Merge pull request #45608 from nextcloud/fix-openapi-notes-share-api
docs(ShareApiController): Correct note about expiry date timezone
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/Controller/ShareAPIController.php2
-rw-r--r--apps/files_sharing/openapi.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php
index fb03d94ac0f..dd2df96bd19 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -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)
diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json
index f5a8ead3eba..87f36d4331f 100644
--- a/apps/files_sharing/openapi.json
+++ b/apps/files_sharing/openapi.json
@@ -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