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

@@ -1102,7 +1102,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.",
"consumes": [
"application/json"
],
@@ -1140,7 +1140,7 @@
}
},
"400": {
"description": "Invalid request or no items provided",
"description": "Invalid request, items not in same directory, or root directory cannot be shared",
"schema": {
"type": "object",
"additionalProperties": {