Fix: unexpected operation of document management (#10366)

### What problem does this PR solve?

 Unexpected operation of document management.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Yongteng Lei
2025-09-30 15:20:38 +08:00
committed by GitHub
parent e7dde69584
commit 7c620bdc69
4 changed files with 80 additions and 6 deletions

View File

@ -315,4 +315,4 @@ class UserTenantService(CommonService):
).first()
return user_tenant
except peewee.DoesNotExist:
return None
return None