diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-14 19:10:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 19:10:12 +0200 |
commit | b964e053125fb03fd9c90c4faceb138ed4039421 (patch) | |
tree | bb82c275742e2c79b43e03c9696d75b2f34d2cfc /apps | |
parent | 3d2039f04104c7ad2ae90dd646cfc7880b2c4b17 (diff) | |
parent | 64dd4ce0ee2ebbf4937a106dfd6c0fde2c961213 (diff) | |
download | nextcloud-server-b964e053125fb03fd9c90c4faceb138ed4039421.tar.gz nextcloud-server-b964e053125fb03fd9c90c4faceb138ed4039421.zip |
Merge pull request #48673 from nextcloud/fix/null-label
fix(share): Return empty string if no label is set
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/ResponseDefinitions.php | 2 | ||||
-rw-r--r-- | 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", |