fix(backend): CreateShare wrong common parent check

This commit is contained in:
2025-12-28 23:43:17 +00:00
parent 399b513e55
commit fdfad036f8
5 changed files with 40 additions and 32 deletions

View File

@@ -1368,7 +1368,7 @@
"BearerAuth": []
}
],
"description": "Create a new share link for one or more files or directories",
"description": "Create a new share link for one or more files or directories. All items must be in the same parent directory. Root directory cannot be shared.",
"tags": [
"shares"
],
@@ -1408,7 +1408,7 @@
}
},
"400": {
"description": "Invalid request or no items provided",
"description": "Invalid request, items not in same directory, or root directory cannot be shared",
"content": {
"application/json": {
"schema": {