aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-08-29 08:43:34 +0200
committerGitHub <noreply@github.com>2024-08-29 08:43:34 +0200
commit23efda911126a60c9af0198a7c842c726a8a4213 (patch)
tree05c5278f638bb4784c3af6e3da6c5909c6520790 /apps
parentd48c6aaaaad0737a468c8747a0252982ec398f12 (diff)
parent01c4fa3ba8a7311da331e6a2b70fc866b0a9b39c (diff)
downloadnextcloud-server-23efda911126a60c9af0198a7c842c726a8a4213.tar.gz
nextcloud-server-23efda911126a60c9af0198a7c842c726a8a4213.zip
Merge pull request #47551 from nextcloud/fix/files_sharing/share-nullable-label
fix(files_sharing): Make share labels nullable
Diffstat (limited to 'apps')
-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 b6a7628b86d..d6df6e40382 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",