From 64dd4ce0ee2ebbf4937a106dfd6c0fde2c961213 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 14 Oct 2024 15:16:13 +0200 Subject: [PATCH] revert: "fix(files_sharing): Make share labels nullable" This reverts commit 01c4fa3ba8a7311da331e6a2b70fc866b0a9b39c. Signed-off-by: Ferdinand Thiessen --- apps/files_sharing/lib/ResponseDefinitions.php | 2 +- apps/files_sharing/openapi.json | 3 +-- 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", -- 2.39.5