fix: Change 'commit' to 'flush' to prevent subsequent transaction fai… (#35243)

This commit is contained in:
zyssyz123 2026-04-15 15:50:52 +08:00 committed by GitHub
parent 50a55513d4
commit 79332c0e5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -455,7 +455,7 @@ class AppDslService:
app.updated_by = account.id
self._session.add(app)
self._session.commit()
self._session.flush()
app_was_created.send(app, account=account)
# save dependencies