Fix metadata field name
This commit is contained in:
parent
91c2ab074a
commit
afac41b3f2
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ def populate_database():
|
||||||
metadata={'team': 'readers', 'role': 'read'})
|
metadata={'team': 'readers', 'role': 'read'})
|
||||||
|
|
||||||
model.log_action('create_repo', org.username, performer=new_user_1, repository=org_repo, datetime=week_ago,
|
model.log_action('create_repo', org.username, performer=new_user_1, repository=org_repo, datetime=week_ago,
|
||||||
metadata={'namespace': org.username, 'name': 'orgrepo'})
|
metadata={'namespace': org.username, 'repo': 'orgrepo'})
|
||||||
|
|
||||||
model.log_action('change_repo_permission', org.username, performer=new_user_2, repository=org_repo, datetime=six_ago,
|
model.log_action('change_repo_permission', org.username, performer=new_user_2, repository=org_repo, datetime=six_ago,
|
||||||
metadata={'username': new_user_1.username, 'repo': 'orgrepo', 'role': 'admin'})
|
metadata={'username': new_user_1.username, 'repo': 'orgrepo', 'role': 'admin'})
|
||||||
|
|
Reference in a new issue