Skip to content

Commit

Permalink
Fixed incorrect value in audit log from /assign-users. (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbecker42 committed Aug 17, 2022
1 parent 1629864 commit cde4d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybossa/view/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3629,7 +3629,7 @@ def assign_users(short_name):
project.set_project_users(project_users)
project_repo.save(project)
auditlogger.log_event(project, current_user, 'update', 'project.assign_users',
'N/A', users)
'N/A', project_users)
if not project_users:
msg = gettext('Users unassigned or no user assigned to project')
current_app.logger.info('Project id {} users unassigned from project.'.format(project.id))
Expand Down

0 comments on commit cde4d42

Please sign in to comment.