aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-10-14 15:16:13 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-10-14 17:11:16 +0000
commitd7d6874242fa98335bd93e2436e1edc15e9c8a72 (patch)
tree3f5251a0783823e7a4eb9e62027fbbbb125c8f45 /apps/files_sharing
parentdfe8f642cdd9b0da29f03ec9607a385cfc3d53d6 (diff)
downloadnextcloud-server-d7d6874242fa98335bd93e2436e1edc15e9c8a72.tar.gz
nextcloud-server-d7d6874242fa98335bd93e2436e1edc15e9c8a72.zip
revert: "fix(files_sharing): Make share labels nullable"backport/48673/stable30
This reverts commit 01c4fa3ba8a7311da331e6a2b70fc866b0a9b39c. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.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, 2 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/ResponseDefinitions.php b/apps/files_sharing/lib/ResponseDefinitions.php
index 774e4c17e00..d412b93a135 100644
--- a/apps/files_sharing/lib/ResponseDefinitions.php
+++ b/apps/files_sharing/lib/ResponseDefinitions.php
@@ -29,7 +29,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,
* mount-type: string,
diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json
index c5777e02539..4932a7e14e4 100644
--- a/apps/files_sharing/openapi.json
+++ b/apps/files_sharing/openapi.json
@@ -583,8 +583,7 @@
]
},
"label": {
- "type": "string",
- "nullable": true
+ "type": "string"
},
"mail_send": {
"type": "integer",