Update file metadata in manifest.json and change MinIO image source in docker-compose.yml
This commit is contained in:
@@ -15,6 +15,9 @@ def create_space(db: Session, *, user: User, name: str) -> FinancialSpace:
|
||||
db.flush()
|
||||
set_space_context(db, space.id)
|
||||
db.add(Membership(space_id=space.id, user_id=user.id, role="owner"))
|
||||
from app.ledger.savings import ensure_savings_resources
|
||||
|
||||
ensure_savings_resources(db, space_id=space.id)
|
||||
audit.record(db, event_type="space.created", space_id=space.id, user_id=user.id)
|
||||
return space
|
||||
|
||||
|
||||
Reference in New Issue
Block a user