aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-08-27 22:28:48 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-08-29 06:45:35 +0000
commitc320bea7b50a61db265635db64db688fecc59b58 (patch)
tree0c760319666ea4d660afce3a5ebde20f5c954a99 /apps/files_sharing
parentc24ca3c23d22e511bd7f31801b5bfd7299aaf71b (diff)
downloadnextcloud-server-c320bea7b50a61db265635db64db688fecc59b58.tar.gz
nextcloud-server-c320bea7b50a61db265635db64db688fecc59b58.zip
fix(files_sharing): Make share labels nullable
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/ResponseDefinitions.php2
-rw-r--r--apps/files_sharing/openapi.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/ResponseDefinitions.php b/apps/files_sharing/lib/ResponseDefinitions.php
index 8e5a4dbe799..9a6ef199169 100644
--- a/apps/files_sharing/lib/ResponseDefinitions.php
+++ b/apps/files_sharing/lib/ResponseDefinitions.php
@@ -28,7 +28,7 @@ namespace OCA\Files_Sharing;
* item_size: float|int,
* item_source: int,
* item_type: 'file'|'folder',
- * label: string,
+ * label: ?string,
* mail_send: 0|1,
* mimetype: string,
* note: string,
diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json
index 79462697883..cf557eb8096 100644
--- a/apps/files_sharing/openapi.json
+++ b/apps/files_sharing/openapi.json
@@ -578,7 +578,8 @@
]
},
"label": {
- "type": "string"
+ "type": "string",
+ "nullable": true
},
"mail_send": {
"type": "integer",