audit-logs: store properly IP and user for certain comments types.

- before mostly IP could be missing from audit log data.
This commit is contained in:
Marcin Kuzminski 2018-04-26 00:59:07 +02:00
parent 7ba1dd57ac
commit 1a717208f4
5 changed files with 16 additions and 11 deletions

View file

@ -548,7 +548,8 @@ def comment_pull_request(
closing_pr=False,
renderer=renderer,
comment_type=comment_type,
resolves_comment_id=resolves_comment_id
resolves_comment_id=resolves_comment_id,
auth_user=apiuser
)
if allowed_to_change_status and status: