Fix metadata field name

This commit is contained in:
Joseph Schorr 2013-12-02 22:29:54 -05:00
parent 91c2ab074a
commit afac41b3f2

View file

@ -259,7 +259,7 @@ def populate_database():
metadata={'team': 'readers', 'role': 'read'})
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,
metadata={'username': new_user_1.username, 'repo': 'orgrepo', 'role': 'admin'})