use db.atomic and remove async operation about db operation to allow multi worker/load balance

This commit is contained in:
Kohaku-Blueleaf
2025-10-11 20:34:22 +08:00
parent 1aa3e8ebc1
commit 21dad7e691
41 changed files with 1502 additions and 1923 deletions

View File

@@ -190,7 +190,7 @@ def test_org(authenticated_http_client):
This fixture creates an organization for testing org-related features.
"""
from kohakuhub.org.routes import CreateOrganizationPayload
from kohakuhub.api.org.router import CreateOrganizationPayload
client = authenticated_http_client