Fix: agent files issue, (#13067)

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2026-02-09 19:52:52 +08:00
committed by GitHub
parent a2dda8fb70
commit 9bc16d8df2
3 changed files with 34 additions and 3 deletions

View File

@@ -705,7 +705,7 @@ async def rename():
@manager.route("/get/<doc_id>", methods=["GET"]) # noqa: F821
# @login_required
@login_required
async def get(doc_id):
try:
e, doc = DocumentService.get_by_id(doc_id)