RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix non-null violation when inviting people to team (#3015)
Brody Wang391b950be6cb
diff --git a/api/apps/tenant_app.py b/api/apps/tenant_app.pyindex e852b2ca47..98992c0339 100644--- a/api/apps/tenant_app.py+++ b/api/apps/tenant_app.py@@ -57,6 +57,7 @@ def create(tenant_id):id=get_uuid(),user_id=user_id,tenant_id=tenant_id,+ invited_by=current_user.id,role=UserTenantRole.INVITE,status=StatusEnum.VALID.value)@@ -95,4 +96,4 @@ def agree(tenant_id):UserTenantService.filter_update([UserTenant.tenant_id == tenant_id, UserTenant.user_id == current_user.id], {"role": UserTenantRole.NORMAL})return get_json_result(data=True)except Exception as e:- return server_error_response(e)\ No newline at end of file+ return server_error_response(e)