aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-10-14 15:16:13 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-10-14 15:16:25 +0200
commit64dd4ce0ee2ebbf4937a106dfd6c0fde2c961213 (patch)
tree9e15ae0f5a809d786942be18258587c4dc452559 /apps/files_sharing
parent2e4d3e4e758f6344ccb8f8d63b70d11f6b31aca7 (diff)
downloadnextcloud-server-64dd4ce0ee2ebbf4937a106dfd6c0fde2c961213.tar.gz
nextcloud-server-64dd4ce0ee2ebbf4937a106dfd6c0fde2c961213.zip
revert: "fix(files_sharing): Make share labels nullable"fix/null-label
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 362e9aefc32..9f38223bca3 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",