fix sample data scripts

This commit is contained in:
dandds
2018-12-10 10:21:32 -05:00
parent d01910cc6f
commit e6d267a568
2 changed files with 3 additions and 5 deletions

View File

@@ -112,6 +112,7 @@ def seed_db():
)
for workspace_role in WORKSPACE_USERS:
ws_role = Workspaces.create_member(user, workspace, workspace_role)
db.session.refresh(ws_role)
WorkspaceRoles.enable(ws_role)
for workspace_role in WORKSPACE_INVITED_USERS: